fromJson static method

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

Implementation

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

  return CollectibleItemTypePhoneNumber(
    phoneNumber: (json['phone_number'] as String?) ?? '',
  );
}