apiKey property
String
get
apiKey
Get the configured API key Throws an error if not initialized
Implementation
String get apiKey {
if (_apiKey == null) {
throw Exception(
'TruthInScanner not initialized! '
'Call TruthInScanner.initialize(apiKey: "your-key") in main() before using the scanner.',
);
}
return _apiKey!;
}