fromJson static method
Implementation
static StoryInteraction? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return StoryInteraction(
actorId: MessageSender.fromJson(tdMapFromJson(json['actor_id'])),
interactionDate: (json['interaction_date'] as int?) ?? 0,
blockList: BlockList.fromJson(tdMapFromJson(json['block_list'])),
type: StoryInteractionType.fromJson(tdMapFromJson(json['type'])),
);
}