import 'package:PiliPlus/models/dynamics/result.dart'; class TopicCardItem { DynamicItemModel? dynamicCardItem; String? topicType; TopicCardItem({this.dynamicCardItem, this.topicType}); factory TopicCardItem.fromJson(Map json) => TopicCardItem( dynamicCardItem: json['dynamic_card_item'] == null ? null : DynamicItemModel.fromJson( json['dynamic_card_item'] as Map), topicType: json['topic_type'] as String?, ); }