OTPState.error constructor

const OTPState.error(
  1. String message, {
  2. int? attemptsLeft,
})

Implementation

const factory OTPState.error(String message, {int? attemptsLeft}) =
    OTPStateError;