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,
);