fromJson static method
Inherited by: ChatActionBarAddContact ChatActionBarBotInvite ChatActionBarInviteMembers ChatActionBarJoinRequest ChatActionBarReportAddBlock ChatActionBarReportSpam ChatActionBarSharePhoneNumber
Implementation
static ChatActionBarReportAddBlock? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatActionBarReportAddBlock(
canUnarchive: (json['can_unarchive'] as bool?) ?? false,
accountInfo:
AccountInfo.fromJson(json['account_info'] as Map<String, dynamic>?),
);
}