factory TopicList.fromMap( Map<String, dynamic> map, ) { return TopicList( total: map['total'], topics: List<Topic>.from( map['topics'].map((p) => Topic.fromMap(p)), ), ); }