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