GoogleCloudIdentitytoolkitV1SignUpRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1SignUpRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV1SignUpRequest.fromJson(core.Map json_)
    : this(
        captchaChallenge: json_.containsKey('captchaChallenge')
            ? json_['captchaChallenge'] as core.String
            : null,
        captchaResponse: json_.containsKey('captchaResponse')
            ? json_['captchaResponse'] as core.String
            : null,
        clientType: json_.containsKey('clientType')
            ? json_['clientType'] as core.String
            : null,
        disabled: json_.containsKey('disabled')
            ? json_['disabled'] as core.bool
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        email:
            json_.containsKey('email') ? json_['email'] as core.String : null,
        emailVerified: json_.containsKey('emailVerified')
            ? json_['emailVerified'] as core.bool
            : null,
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        instanceId: json_.containsKey('instanceId')
            ? json_['instanceId'] as core.String
            : null,
        localId: json_.containsKey('localId')
            ? json_['localId'] as core.String
            : null,
        mfaInfo: json_.containsKey('mfaInfo')
            ? (json_['mfaInfo'] as core.List)
                .map((value) =>
                    GoogleCloudIdentitytoolkitV1MfaFactor.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        password: json_.containsKey('password')
            ? json_['password'] as core.String
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
        photoUrl: json_.containsKey('photoUrl')
            ? json_['photoUrl'] as core.String
            : null,
        recaptchaVersion: json_.containsKey('recaptchaVersion')
            ? json_['recaptchaVersion'] as core.String
            : null,
        targetProjectId: json_.containsKey('targetProjectId')
            ? json_['targetProjectId'] as core.String
            : null,
        tenantId: json_.containsKey('tenantId')
            ? json_['tenantId'] as core.String
            : null,
      );