maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult empty(
- Empty<
T> value
- Empty<
- TResult short(
- Short<
T> value
- Short<
- TResult invalidEmail(
- InvalidEmail<
T> value
- InvalidEmail<
- TResult invalidPhone(
- InvalidPhone<
T> value
- InvalidPhone<
- TResult weakPassword(
- WeakPassword<
T> value
- WeakPassword<
- TResult exceedingLength(
- ExceedingLength<
T> value
- ExceedingLength<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(Empty<T> value)? empty,
TResult Function(Short<T> value)? short,
TResult Function(InvalidEmail<T> value)? invalidEmail,
TResult Function(InvalidPhone<T> value)? invalidPhone,
TResult Function(WeakPassword<T> value)? weakPassword,
TResult Function(ExceedingLength<T> value)? exceedingLength,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;