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