AuthResponse constructor

const AuthResponse({
  1. User? firebaseUser,
  2. UserEntity? user,
  3. String message = '',
  4. String error = '',
  5. bool isCancel = false,
  6. bool isLoading = false,
  7. bool isLoggedIn = false,
  8. bool isSuccessful = false,
  9. Credential credential = const Credential(),
  10. bool isFailed = false,
  11. AuthStatus status = AuthStatus.noContent,
})

Implementation

const AuthResponse({
  this.firebaseUser,
  this.user,
  this.message = '',
  this.error = '',
  this.isCancel = false,
  this.isLoading = false,
  this.isLoggedIn = false,
  this.isSuccessful = false,
  this.credential = const Credential(),
  this.isFailed = false,
  this.status = AuthStatus.noContent,
});