toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'chatMemberStatusAdministrator',
if (extra != null) '@extra': extra,
'custom_title': custom_title,
'can_be_edited': can_be_edited,
'rights': rights
};
}