JsonWebClient constructor

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

Implementation

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