legacy static method
Implementation
static IServiceClient legacy(
[String baseUrl = "/", ClientOptions? options = null]) {
var client = JsonServiceClient.legacy(baseUrl);
if (ClientConfig.initClient != null) {
ClientConfig.initClient!(client);
}
return client;
}