ResponseDecoder typedef

ResponseDecoder = FutureOr<String?> Function(List<int> responseBytes, RequestOptions options, ResponseBody responseBody)

The type of a response decoding callback.

Implementation

typedef ResponseDecoder = FutureOr<String?> Function(
  List<int> responseBytes,
  RequestOptions options,
  ResponseBody responseBody,
);