map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult success(
    1. ParseSuccess<T> value
    ),
  2. required TResult failure(
    1. ParseFailure<T> value
    ),
})
inherited

Implementation

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