ChatBoostSourcePremium.fromJson constructor

ChatBoostSourcePremium.fromJson(
  1. Map<String, dynamic> json
)

Creates a ChatBoostSourcePremium object from a JSON object.

Implementation

factory ChatBoostSourcePremium.fromJson(Map<String, dynamic> json) {
  return ChatBoostSourcePremium(
    user: User.fromJson(json['user']),
  );
}