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,
);