toJson method
Converts a ChatMemberBanned to a Map for JSON encoding.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'status': status.value,
'user': user.toJson(),
'until_date': untilDate,
};
}
Converts a ChatMemberBanned to a Map for JSON encoding.
@override
Map<String, dynamic> toJson() {
return {
'status': status.value,
'user': user.toJson(),
'until_date': untilDate,
};
}