JsonWebClient.api constructor

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

Implementation

JsonWebClient.api([this.baseUrl = "/"]) {
  basePath = "api";
  headers = {};
  client = BrowserClient()..withCredentials = true;
  maxRetries = 5;
  useTokenCookie = false;
}