withResponseFilter method

  1. @Deprecated('Use withResponseChain instead')
B withResponseFilter(
  1. bool filter(
    1. TRes
    )
)

Sets a custom response filter callback.

Implementation

@Deprecated('Use withResponseChain instead')
B withResponseFilter(bool Function(TRes) filter) {
  responseFilter = filter;
  return _self;
}