PhoneInputState constructor

PhoneInputState({
  1. @Default(PhoneInputStatus.initial) PhoneInputStatus status,
  2. @Default(Phone.pure()) Phone phone,
  3. @Default(PhoneInputType.signUp) PhoneInputType phoneInputType,
  4. @Default('') String title,
  5. String? errorMessage,
})

Implementation

factory PhoneInputState({
  @Default(PhoneInputStatus.initial) PhoneInputStatus status,
  @Default(Phone.pure()) Phone phone,
  @Default(PhoneInputType.signUp) PhoneInputType phoneInputType,
  @Default('') String title,
  String? errorMessage,
}) = _PhoneInputState;