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