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