GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.fromJson constructor
GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.fromJson(
- Map _json
Implementation
GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.fromJson(
core.Map _json)
: this(
email:
_json.containsKey('email') ? _json['email'] as core.String : null,
expiresIn: _json.containsKey('expiresIn')
? _json['expiresIn'] as core.String
: null,
idToken: _json.containsKey('idToken')
? _json['idToken'] as core.String
: null,
isNewUser: _json.containsKey('isNewUser')
? _json['isNewUser'] as core.bool
: null,
kind: _json.containsKey('kind') ? _json['kind'] 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,
refreshToken: _json.containsKey('refreshToken')
? _json['refreshToken'] as core.String
: null,
);