mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-26 05:16:01 +08:00
15 lines
247 B
Dart
15 lines
247 B
Dart
class FavTopicItem {
|
|
int? id;
|
|
String? name;
|
|
|
|
FavTopicItem({
|
|
this.id,
|
|
this.name,
|
|
});
|
|
|
|
factory FavTopicItem.fromJson(Map<String, dynamic> json) => FavTopicItem(
|
|
id: json['id'] as int?,
|
|
name: json['name'] as String?,
|
|
);
|
|
}
|