ThirdPartyIdentifier.fromJson constructor

ThirdPartyIdentifier.fromJson(
  1. Map<String, Object?> json
)

Implementation

ThirdPartyIdentifier.fromJson(Map<String, Object?> json)
    : addedAt = json['added_at'] as int,
      address = json['address'] as String,
      medium = ThirdPartyIdentifierMedium.values
          .fromString(json['medium'] as String)!,
      validatedAt = json['validated_at'] as int;