HttpService constructor

HttpService(
  1. String url, [
  2. Client? client
])

Implementation

HttpService(this.url, [http.Client? client]) {
  _client = client ?? http.Client();
}