IdentitytoolkitRelyingpartyGetProjectConfigResponse.fromJson constructor
IdentitytoolkitRelyingpartyGetProjectConfigResponse.fromJson(
- Map _json
Implementation
IdentitytoolkitRelyingpartyGetProjectConfigResponse.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')
? EmailTemplate.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) => IdpConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
legacyResetPasswordTemplate:
_json.containsKey('legacyResetPasswordTemplate')
? EmailTemplate.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')
? EmailTemplate.fromJson(_json['resetPasswordTemplate']
as core.Map<core.String, core.dynamic>)
: null,
useEmailSending: _json.containsKey('useEmailSending')
? _json['useEmailSending'] as core.bool
: null,
verifyEmailTemplate: _json.containsKey('verifyEmailTemplate')
? EmailTemplate.fromJson(_json['verifyEmailTemplate']
as core.Map<core.String, core.dynamic>)
: null,
);