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