fromJson static method
Implementation
static UnreadReaction? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return UnreadReaction(
type: ReactionType.fromJson(tdMapFromJson(json['type'])),
senderId: MessageSender.fromJson(tdMapFromJson(json['sender_id'])),
isBig: (json['is_big'] as bool?) ?? false,
);
}