StarTransactionTypeGiftUpgradePurchase.fromJson constructor
Parses a StarTransactionTypeGiftUpgradePurchase from TDLib JSON.
Implementation
factory StarTransactionTypeGiftUpgradePurchase.fromJson(
Map<String, dynamic> json,
) => StarTransactionTypeGiftUpgradePurchase(
ownerId: _readObject(json['owner_id'], MessageSender.fromJson),
gift: _readObject(json['gift'], Gift.fromJson),
);