isClientError static method

bool isClientError(
  1. int code
)

Implementation

static bool isClientError(int code) => code > 400 && code < 500;