UserChatBoosts.fromJson constructor
Creates a UserChatBoosts
object from a JSON object.
Implementation
factory UserChatBoosts.fromJson(Map<String, dynamic> json) {
return UserChatBoosts(
boosts: (json['boosts'] as List)
.map((item) => ChatBoost.fromJson(item))
.toList(),
);
}