fromJson static method
Inherited by: ChatStatisticsObjectTypeMessage ChatStatisticsObjectTypeStory
Implementation
static ChatStatisticsObjectTypeStory? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatStatisticsObjectTypeStory(
storyId: (json['story_id'] as int?) ?? 0,
);
}