mapOrNull<TResult extends Object?> method

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

Implementation

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