api static method

IServiceClient api([
  1. String baseUrl = "/"
])

Implementation

static IServiceClient api([String baseUrl = "/"]) {
  var client = JsonWebClient.api(baseUrl);
  if (ClientConfig.initClient != null) {
    ClientConfig.initClient!(client);
  }
  return client;
}