maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult success(
- ParseSuccess<
T> value
- ParseSuccess<
- TResult failure(
- ParseFailure<
T> value
- ParseFailure<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(ParseSuccess<T> value)? success,
TResult Function(ParseFailure<T> value)? failure,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;