fromJson static method

GiftResaleResultOk? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static GiftResaleResultOk? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return GiftResaleResultOk(
    receivedGiftId: (json['received_gift_id'] as String?) ?? '',
  );
}