map<TResult extends Object?> method

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

Implementation

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