ChatActiveStories.fromJson constructor
Parse from a json
Implementation
factory ChatActiveStories.fromJson(Map<String, dynamic> json) =>
ChatActiveStories(
chatId: json['chat_id'],
list: json['list'] == null ? null : StoryList.fromJson(json['list']),
order: json['order'],
maxReadStoryId: json['max_read_story_id'],
stories: List<StoryInfo>.from((json['stories'] ?? [])
.map((item) => StoryInfo.fromJson(item))
.toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);