GoogleCloudIdentitytoolkitAdminV2SignInConfig.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2SignInConfig.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitAdminV2SignInConfig.fromJson(core.Map _json)
    : this(
        allowDuplicateEmails: _json.containsKey('allowDuplicateEmails')
            ? _json['allowDuplicateEmails'] as core.bool
            : null,
        anonymous: _json.containsKey('anonymous')
            ? GoogleCloudIdentitytoolkitAdminV2Anonymous.fromJson(
                _json['anonymous'] as core.Map<core.String, core.dynamic>)
            : null,
        email: _json.containsKey('email')
            ? GoogleCloudIdentitytoolkitAdminV2Email.fromJson(
                _json['email'] as core.Map<core.String, core.dynamic>)
            : null,
        hashConfig: _json.containsKey('hashConfig')
            ? GoogleCloudIdentitytoolkitAdminV2HashConfig.fromJson(
                _json['hashConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        phoneNumber: _json.containsKey('phoneNumber')
            ? GoogleCloudIdentitytoolkitAdminV2PhoneNumber.fromJson(
                _json['phoneNumber'] as core.Map<core.String, core.dynamic>)
            : null,
      );