maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult empty(
    1. Empty<T> value
    )?,
  2. TResult short(
    1. Short<T> value
    )?,
  3. TResult invalidEmail(
    1. InvalidEmail<T> value
    )?,
  4. TResult invalidPhone(
    1. InvalidPhone<T> value
    )?,
  5. TResult weakPassword(
    1. WeakPassword<T> value
    )?,
  6. TResult exceedingLength(
    1. ExceedingLength<T> value
    )?,
  7. 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;