GoogleCloudIdentitytoolkitV1GetProjectConfigResponse.fromJson constructor
GoogleCloudIdentitytoolkitV1GetProjectConfigResponse.fromJson(
- Map _json
Implementation
GoogleCloudIdentitytoolkitV1GetProjectConfigResponse.fromJson(core.Map _json)
: this(
allowPasswordUser: _json.containsKey('allowPasswordUser')
? _json['allowPasswordUser'] as core.bool
: null,
apiKey: _json.containsKey('apiKey')
? _json['apiKey'] as core.String
: null,
authorizedDomains: _json.containsKey('authorizedDomains')
? (_json['authorizedDomains'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
changeEmailTemplate: _json.containsKey('changeEmailTemplate')
? GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson(
_json['changeEmailTemplate']
as core.Map<core.String, core.dynamic>)
: null,
dynamicLinksDomain: _json.containsKey('dynamicLinksDomain')
? _json['dynamicLinksDomain'] as core.String
: null,
enableAnonymousUser: _json.containsKey('enableAnonymousUser')
? _json['enableAnonymousUser'] as core.bool
: null,
idpConfig: _json.containsKey('idpConfig')
? (_json['idpConfig'] as core.List)
.map((value) =>
GoogleCloudIdentitytoolkitV1IdpConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
legacyResetPasswordTemplate:
_json.containsKey('legacyResetPasswordTemplate')
? GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson(
_json['legacyResetPasswordTemplate']
as core.Map<core.String, core.dynamic>)
: null,
projectId: _json.containsKey('projectId')
? _json['projectId'] as core.String
: null,
resetPasswordTemplate: _json.containsKey('resetPasswordTemplate')
? GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson(
_json['resetPasswordTemplate']
as core.Map<core.String, core.dynamic>)
: null,
revertSecondFactorAdditionTemplate:
_json.containsKey('revertSecondFactorAdditionTemplate')
? GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson(
_json['revertSecondFactorAdditionTemplate']
as core.Map<core.String, core.dynamic>)
: null,
useEmailSending: _json.containsKey('useEmailSending')
? _json['useEmailSending'] as core.bool
: null,
verifyEmailTemplate: _json.containsKey('verifyEmailTemplate')
? GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson(
_json['verifyEmailTemplate']
as core.Map<core.String, core.dynamic>)
: null,
);