AuthFlowState constructor

const AuthFlowState({
  1. @Default.new(null) VoAuthPageKeys? page,
  2. @Default.new(null) VoAuthPageKeys? previousPage,
  3. @Default.new(false) bool isLoading,
  4. @Default.new(null) String? error,
  5. String? phone,
  6. String? email,
  7. String? countryCode,
  8. String? formattedPhone,
  9. SendOtpResponse? sendOtpResponse,
  10. VerifyOtpResponse? verifyOtpResponse,
})

Implementation

const factory AuthFlowState({
  @Default(null) VoAuthPageKeys? page,
  @Default(null) VoAuthPageKeys? previousPage,
  @Default(false) bool isLoading,
  @Default(null) String? error,
  String? phone,
  String? email,
  String? countryCode,
  String? formattedPhone,
  SendOtpResponse? sendOtpResponse,
  VerifyOtpResponse? verifyOtpResponse,
}) = _AuthFlowState;