ApiDatasourceImpl constructor
ApiDatasourceImpl({
- Client? httpClient,
- required ParamsChatBot params,
- required String apiKey,
Implementation
ApiDatasourceImpl({
http.Client? httpClient,
required ParamsChatBot params,
required String apiKey,
}) : _http = httpClient ?? http.Client(),
_apiKey = apiKey,
_params = params;