fromJson static method
Inherited by: ChatActionBarAddContact 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(tdMapFromJson(json['account_info'])),
);
}