maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult nothing(
    1. Nothing<T> value
    )?,
  2. TResult just(
    1. Just<T> value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(Nothing<T> value)? nothing,
  TResult Function(Just<T> value)? just,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;