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