GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.fromJson constructor
GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.fromJson(
- Map _json
Implementation
GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.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,
createdAt: _json.containsKey('createdAt')
? _json['createdAt'] as core.String
: null,
customAttributes: _json.containsKey('customAttributes')
? _json['customAttributes'] as core.String
: null,
delegatedProjectNumber: _json.containsKey('delegatedProjectNumber')
? _json['delegatedProjectNumber'] as core.String
: null,
deleteAttribute: _json.containsKey('deleteAttribute')
? (_json['deleteAttribute'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
deleteProvider: _json.containsKey('deleteProvider')
? (_json['deleteProvider'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
disableUser: _json.containsKey('disableUser')
? _json['disableUser'] 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,
lastLoginAt: _json.containsKey('lastLoginAt')
? _json['lastLoginAt'] as core.String
: null,
linkProviderUserInfo: _json.containsKey('linkProviderUserInfo')
? GoogleCloudIdentitytoolkitV1ProviderUserInfo.fromJson(
_json['linkProviderUserInfo']
as core.Map<core.String, core.dynamic>)
: null,
localId: _json.containsKey('localId')
? _json['localId'] as core.String
: null,
mfa: _json.containsKey('mfa')
? GoogleCloudIdentitytoolkitV1MfaInfo.fromJson(
_json['mfa'] as core.Map<core.String, core.dynamic>)
: null,
oobCode: _json.containsKey('oobCode')
? _json['oobCode'] as core.String
: 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,
provider: _json.containsKey('provider')
? (_json['provider'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
returnSecureToken: _json.containsKey('returnSecureToken')
? _json['returnSecureToken'] as core.bool
: null,
targetProjectId: _json.containsKey('targetProjectId')
? _json['targetProjectId'] as core.String
: null,
tenantId: _json.containsKey('tenantId')
? _json['tenantId'] as core.String
: null,
upgradeToFederatedLogin: _json.containsKey('upgradeToFederatedLogin')
? _json['upgradeToFederatedLogin'] as core.bool
: null,
validSince: _json.containsKey('validSince')
? _json['validSince'] as core.String
: null,
);