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