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