ChatBoost.fromJson constructor
Creates a ChatBoost
object from a JSON object.
Implementation
factory ChatBoost.fromJson(Map<String, dynamic> json) {
return ChatBoost(
boostId: json['boost_id'],
addDate: json['add_date'],
expirationDate: json['expiration_date'],
source: ChatBoostSource.fromJson(json['source']),
);
}