maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult success(
- Success<
T> value
- Success<
- TResult failure(
- Failure<
T> value
- Failure<
- 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;