maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult success(
    1. Success<T> value
    )?,
  2. TResult failure(
    1. Failure<T> value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(Success<T> value)? success,
  TResult Function(Failure<T> value)? failure,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;