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