handleStatusCode static method

void handleStatusCode(
  1. int? code
)

统一状态码处理

Implementation

static void handleStatusCode(int? code) {
  HttpPlatform.get.throwHandler?.handleStatusCode(code);
}