SignInResponse.anonymous constructor

const SignInResponse.anonymous({
  1. required String idToken,
  2. String? email,
  3. required String refreshToken,
  4. required String expiresIn,
  5. required String localId,
})

Implementation

const factory SignInResponse.anonymous({
  /// A Firebase Auth ID token for the newly created user.
  required String idToken,

  /// Since the user is anonymous, this should be empty.
  String? email,

  /// A Firebase Auth refresh token for the newly created user.
  required String refreshToken,

  /// The number of seconds in which the ID token expires.
  required String expiresIn,

  /// The uid of the newly created user.
  required String localId,
}) = AnonymousSignInResponse;