toJson method
Creates a json from the object
Implementation
Map toJson() {
return {
'chat': chat,
'from': from,
'date': date,
'bio': bio,
'invite_link': inviteLink,
}..removeWhere((_, v) => v == null);
}
Creates a json from the object
Map toJson() {
return {
'chat': chat,
'from': from,
'date': date,
'bio': bio,
'invite_link': inviteLink,
}..removeWhere((_, v) => v == null);
}