defaultShouldDeserialize static method

bool defaultShouldDeserialize(
  1. StreamedResponse response
)

Implementation

static bool defaultShouldDeserialize(StreamedResponse response) {
  return response.statusCode >= 200 && response.statusCode < 300;
}