mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? success(
    1. _HttpSuccess<T> value
    )?,
  2. TResult? failed(
    1. _HttpFailed<T> value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(_HttpSuccess<T> value)? success,
  TResult? Function(_HttpFailed<T> value)? failed,
}) =>
    throw _privateConstructorUsedError;