Story.fromJson constructor
Constructs an instance of Story from a JSON map.
Implementation
factory Story.fromJson(Map<String, dynamic> json) {
return Story(
chat: Chat.fromJson(json['chat'] as Map<String, dynamic>),
id: json['id'] as int,
);
}