validateKey method
Implementation
void validateKey(String? key) {
if (key != null && key.isEmpty) {
throw ArgumentError("API Key cannot empty or null");
}
}
void validateKey(String? key) {
if (key != null && key.isEmpty) {
throw ArgumentError("API Key cannot empty or null");
}
}