fromJson static method
Implementation
static GiftForResale? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return GiftForResale(
gift: UpgradedGift.fromJson(tdMapFromJson(json['gift'])),
receivedGiftId: (json['received_gift_id'] as String?) ?? '',
);
}