toJson method

Map<String, dynamic> toJson()

Converts the ChatBoost object to a JSON object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'boost_id': boostId,
    'add_date': addDate,
    'expiration_date': expirationDate,
    'source': source.toJson(),
  };
}