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