toJson method

Map<String, dynamic> toJson()

Converts the ChatBoostUpdated object to a JSON object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'chat': chat.toJson(),
    'boost': boost.toJson(),
  };
}