VerificationOption.fromJson constructor

VerificationOption.fromJson(
  1. Map json_
)

Implementation

VerificationOption.fromJson(core.Map json_)
    : this(
        addressData: json_.containsKey('addressData')
            ? AddressVerificationData.fromJson(
                json_['addressData'] as core.Map<core.String, core.dynamic>)
            : null,
        announcement: json_.containsKey('announcement')
            ? json_['announcement'] as core.String
            : null,
        emailData: json_.containsKey('emailData')
            ? EmailVerificationData.fromJson(
                json_['emailData'] as core.Map<core.String, core.dynamic>)
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
        verificationMethod: json_.containsKey('verificationMethod')
            ? json_['verificationMethod'] as core.String
            : null,
      );