SimpleRestApi constructor

SimpleRestApi({
  1. String baseUrl = 'http://127.0.0.1:8080/service/',
  2. bool trustSelfSigned = false,
  3. Client? httpClient,
})

Creates a SimpleRestApi.

Implementation

SimpleRestApi(
    {this.baseUrl = 'http://127.0.0.1:8080/service/',
    this.trustSelfSigned = false,
    Client? httpClient})
    : _httpClient = httpClient ?? createHttpClient(trustSelfSigned);