maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult empty(
- T failedValue
- TResult short(
- T failedValue
- TResult invalidEmail(
- T failedValue
- TResult invalidPhone(
- T failedValue
- TResult weakPassword(
- T failedValue
- TResult exceedingLength(
- T failedValue
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(T failedValue)? empty,
TResult Function(T failedValue)? short,
TResult Function(T failedValue)? invalidEmail,
TResult Function(T failedValue)? invalidPhone,
TResult Function(T failedValue)? weakPassword,
TResult Function(T failedValue)? exceedingLength,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;