mapOrNull<TResult extends Object?> method

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

Implementation

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