AppleIdCredential.fromMap constructor
AppleIdCredential.fromMap(
- Map map
Implementation
factory AppleIdCredential.fromMap(Map map) {
// assert(map != null);
return AppleIdCredential(
identityToken: map['identityToken'],
authorizationCode: map['authorizationCode'],
state: map['state'],
user: map['user'],
authorizedScopes: _scopesFromList(map['authorizedScopes']),
email: map['email'],
realUserStatus: map.containsKey('realUserStatus')
? UserDetectionStatus.values[map['realUserStatus']]
: UserDetectionStatus.unsupported,
fullName: PersonNameComponents.fromMap(map['fullName']),
);
}