toJson method

Map<String, dynamic> toJson()

Converts the ChatBoostRemoved object to a JSON object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'chat': chat.toJson(),
    'boost_id': boostId,
    'remove_date': removeDate,
    'source': source.toJson(),
  };
}