import 'package:PiliPlus/models_new/fav/fav_topic/topic_list.dart';

class FavTopicData {
  TopicList? topicList;

  FavTopicData({this.topicList});

  factory FavTopicData.fromJson(Map<String, dynamic> json) => FavTopicData(
    topicList: json['topic_list'] == null
        ? null
        : TopicList.fromJson(json['topic_list'] as Map<String, dynamic>),
  );
}
