GoogleCloudIdentitytoolkitV1UserInfo.fromJson constructor
GoogleCloudIdentitytoolkitV1UserInfo.fromJson(
- Map _json
Implementation
GoogleCloudIdentitytoolkitV1UserInfo.fromJson(core.Map _json)
: this(
createdAt: _json.containsKey('createdAt')
? _json['createdAt'] as core.String
: null,
customAttributes: _json.containsKey('customAttributes')
? _json['customAttributes'] as core.String
: null,
customAuth: _json.containsKey('customAuth')
? _json['customAuth'] as core.bool
: null,
dateOfBirth: _json.containsKey('dateOfBirth')
? _json['dateOfBirth'] as core.String
: null,
disabled: _json.containsKey('disabled')
? _json['disabled'] as core.bool
: null,
displayName: _json.containsKey('displayName')
? _json['displayName'] as core.String
: null,
email:
_json.containsKey('email') ? _json['email'] as core.String : null,
emailLinkSignin: _json.containsKey('emailLinkSignin')
? _json['emailLinkSignin'] as core.bool
: null,
emailVerified: _json.containsKey('emailVerified')
? _json['emailVerified'] as core.bool
: null,
initialEmail: _json.containsKey('initialEmail')
? _json['initialEmail'] as core.String
: null,
language: _json.containsKey('language')
? _json['language'] as core.String
: null,
lastLoginAt: _json.containsKey('lastLoginAt')
? _json['lastLoginAt'] as core.String
: null,
lastRefreshAt: _json.containsKey('lastRefreshAt')
? _json['lastRefreshAt'] 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,
passwordHash: _json.containsKey('passwordHash')
? _json['passwordHash'] as core.String
: null,
passwordUpdatedAt: _json.containsKey('passwordUpdatedAt')
? (_json['passwordUpdatedAt'] as core.num).toDouble()
: null,
phoneNumber: _json.containsKey('phoneNumber')
? _json['phoneNumber'] as core.String
: null,
photoUrl: _json.containsKey('photoUrl')
? _json['photoUrl'] as core.String
: null,
providerUserInfo: _json.containsKey('providerUserInfo')
? (_json['providerUserInfo'] as core.List)
.map((value) =>
GoogleCloudIdentitytoolkitV1ProviderUserInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
rawPassword: _json.containsKey('rawPassword')
? _json['rawPassword'] as core.String
: null,
salt: _json.containsKey('salt') ? _json['salt'] 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,
validSince: _json.containsKey('validSince')
? _json['validSince'] as core.String
: null,
version: _json.containsKey('version')
? _json['version'] as core.int
: null,
);