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