GiftResalePrice.fromJson constructor
Parses whichever GiftResalePrice subtype the JSON describes.
Implementation
factory GiftResalePrice.fromJson(Map<String, dynamic> json) {
final object = tdObjectFactories[json['@type']]?.call(json);
return object is GiftResalePrice ? object : UndecodedGiftResalePrice(json);
}