initialize method
Initializes the service with an API key.
Implementation
void initialize(String apiKey) {
if (apiKey.isEmpty) {
throw TuulException(code: '400', message: 'API key cannot be empty');
}
_apiKey = apiKey;
}
Initializes the service with an API key.
void initialize(String apiKey) {
if (apiKey.isEmpty) {
throw TuulException(code: '400', message: 'API key cannot be empty');
}
_apiKey = apiKey;
}