UpgradedGiftModelCount.fromJson constructor
Parses a UpgradedGiftModelCount from TDLib JSON.
Implementation
factory UpgradedGiftModelCount.fromJson(Map<String, dynamic> json) =>
UpgradedGiftModelCount(
model: _readObject(json['model'], UpgradedGiftModel.fromJson),
totalCount: _readInt(json['total_count']),
);