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