apiKey property
String
get
apiKey
The user's own API key (empty uses the Hub's key).
Implementation
String get apiKey => _settings.aiApiKey ?? '';
set
apiKey
(String value)
Implementation
set apiKey(String value) {
final v = value.trim();
_settings.aiApiKey = v.isEmpty ? null : v;
}