mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17 lines
521 B
Dart
17 lines
521 B
Dart
import 'package:PiliPlus/models/dynamics/result.dart';
|
|
|
|
class TopicCardItem {
|
|
DynamicItemModel? dynamicCardItem;
|
|
String? topicType;
|
|
|
|
TopicCardItem({this.dynamicCardItem, this.topicType});
|
|
|
|
factory TopicCardItem.fromJson(Map<String, dynamic> json) => TopicCardItem(
|
|
dynamicCardItem: json['dynamic_card_item'] == null
|
|
? null
|
|
: DynamicItemModel.fromJson(
|
|
json['dynamic_card_item'] as Map<String, dynamic>),
|
|
topicType: json['topic_type'] as String?,
|
|
);
|
|
}
|