toJson method
Converts a ChatBackground object to JSON.
Implementation
Map<String, dynamic> toJson() {
return {
'type': type.toJson(),
};
}
Converts a ChatBackground object to JSON.
Map<String, dynamic> toJson() {
return {
'type': type.toJson(),
};
}