ApiService constructor

ApiService(
  1. Environment env,
  2. Endpoint endpoint
)

Implementation

ApiService(Environment env, Endpoint endpoint) {
  this.httpClient = Dio(
    BaseOptions(baseUrl: endpoint.getBackend().toString()),
  );
}