SetAccountInfoResponse.fromJson constructor
SetAccountInfoResponse.fromJson(
- Map _json
Implementation
SetAccountInfoResponse.fromJson(core.Map _json)
: this(
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,
expiresIn: _json.containsKey('expiresIn')
? _json['expiresIn'] as core.String
: null,
idToken: _json.containsKey('idToken')
? _json['idToken'] as core.String
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
localId: _json.containsKey('localId')
? _json['localId'] as core.String
: null,
newEmail: _json.containsKey('newEmail')
? _json['newEmail'] as core.String
: null,
passwordHash: _json.containsKey('passwordHash')
? _json['passwordHash'] 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) =>
SetAccountInfoResponseProviderUserInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
refreshToken: _json.containsKey('refreshToken')
? _json['refreshToken'] as core.String
: null,
);