instance property
HttpClient
get
instance
获取单例实例
Implementation
static HttpClient get instance {
if (_instance == null) {
throw Exception(
'HttpClient not initialized. Call HttpClient.init() first.');
}
return _instance!;
}