statusCodeIsSuccessful static method

bool statusCodeIsSuccessful(
  1. int? statusCode
)

Implementation

static bool statusCodeIsSuccessful(int? statusCode) =>
    statusCode != null && 200 <= statusCode && statusCode < 300;