AppleAuthInfo.fromJson constructor

AppleAuthInfo.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory AppleAuthInfo.fromJson(Map<String, dynamic> jsonSerialization) {
  return AppleAuthInfo(
    userIdentifier: jsonSerialization['userIdentifier'] as String,
    email: jsonSerialization['email'] as String?,
    fullName: jsonSerialization['fullName'] as String,
    nickname: jsonSerialization['nickname'] as String,
    identityToken: jsonSerialization['identityToken'] as String,
    authorizationCode: jsonSerialization['authorizationCode'] as String,
  );
}