AppleCredential.fromJson constructor Null safety

AppleCredential.fromJson(
  1. {String? email,
  2. String? identityToken,
  3. String? userIdentifier,
  4. required String authorizationCode}
)

Implementation

factory AppleCredential.fromJson(
    {String? email,
    String? identityToken,
    String? userIdentifier,
    required String authorizationCode}) {
  return AppleCredential(
      email: email,
      identityToken: identityToken,
      userIdentifier: userIdentifier,
      authorizationCode: authorizationCode);
}