GoogleCloudIdentitytoolkitV1SignInWithIdpResponse.fromJson constructor
GoogleCloudIdentitytoolkitV1SignInWithIdpResponse.fromJson(
- Map _json
Implementation
GoogleCloudIdentitytoolkitV1SignInWithIdpResponse.fromJson(core.Map _json)
: this(
context: _json.containsKey('context')
? _json['context'] as core.String
: null,
dateOfBirth: _json.containsKey('dateOfBirth')
? _json['dateOfBirth'] as core.String
: null,
displayName: _json.containsKey('displayName')
? _json['displayName'] as core.String
: null,
email:
_json.containsKey('email') ? _json['email'] as core.String : null,
emailRecycled: _json.containsKey('emailRecycled')
? _json['emailRecycled'] as core.bool
: null,
emailVerified: _json.containsKey('emailVerified')
? _json['emailVerified'] as core.bool
: null,
errorMessage: _json.containsKey('errorMessage')
? _json['errorMessage'] as core.String
: null,
expiresIn: _json.containsKey('expiresIn')
? _json['expiresIn'] as core.String
: null,
federatedId: _json.containsKey('federatedId')
? _json['federatedId'] as core.String
: null,
firstName: _json.containsKey('firstName')
? _json['firstName'] as core.String
: null,
fullName: _json.containsKey('fullName')
? _json['fullName'] as core.String
: null,
idToken: _json.containsKey('idToken')
? _json['idToken'] as core.String
: null,
inputEmail: _json.containsKey('inputEmail')
? _json['inputEmail'] as core.String
: null,
isNewUser: _json.containsKey('isNewUser')
? _json['isNewUser'] as core.bool
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
language: _json.containsKey('language')
? _json['language'] as core.String
: null,
lastName: _json.containsKey('lastName')
? _json['lastName'] as core.String
: null,
localId: _json.containsKey('localId')
? _json['localId'] as core.String
: null,
mfaInfo: _json.containsKey('mfaInfo')
? (_json['mfaInfo'] as core.List)
.map((value) =>
GoogleCloudIdentitytoolkitV1MfaEnrollment.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
mfaPendingCredential: _json.containsKey('mfaPendingCredential')
? _json['mfaPendingCredential'] as core.String
: null,
needConfirmation: _json.containsKey('needConfirmation')
? _json['needConfirmation'] as core.bool
: null,
needEmail: _json.containsKey('needEmail')
? _json['needEmail'] as core.bool
: null,
nickName: _json.containsKey('nickName')
? _json['nickName'] as core.String
: null,
oauthAccessToken: _json.containsKey('oauthAccessToken')
? _json['oauthAccessToken'] as core.String
: null,
oauthAuthorizationCode: _json.containsKey('oauthAuthorizationCode')
? _json['oauthAuthorizationCode'] as core.String
: null,
oauthExpireIn: _json.containsKey('oauthExpireIn')
? _json['oauthExpireIn'] as core.int
: null,
oauthIdToken: _json.containsKey('oauthIdToken')
? _json['oauthIdToken'] as core.String
: null,
oauthRefreshToken: _json.containsKey('oauthRefreshToken')
? _json['oauthRefreshToken'] as core.String
: null,
oauthTokenSecret: _json.containsKey('oauthTokenSecret')
? _json['oauthTokenSecret'] as core.String
: null,
originalEmail: _json.containsKey('originalEmail')
? _json['originalEmail'] as core.String
: null,
pendingToken: _json.containsKey('pendingToken')
? _json['pendingToken'] as core.String
: null,
photoUrl: _json.containsKey('photoUrl')
? _json['photoUrl'] as core.String
: null,
providerId: _json.containsKey('providerId')
? _json['providerId'] as core.String
: null,
rawUserInfo: _json.containsKey('rawUserInfo')
? _json['rawUserInfo'] as core.String
: null,
refreshToken: _json.containsKey('refreshToken')
? _json['refreshToken'] as core.String
: null,
screenName: _json.containsKey('screenName')
? _json['screenName'] as core.String
: null,
tenantId: _json.containsKey('tenantId')
? _json['tenantId'] as core.String
: null,
timeZone: _json.containsKey('timeZone')
? _json['timeZone'] as core.String
: null,
verifiedProvider: _json.containsKey('verifiedProvider')
? (_json['verifiedProvider'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);