apiKey property

String get apiKey

Implementation

static String get apiKey {
  if (_apiKey == null) {
    throw Exception(
        'Google Translate API key is not set. Call TranslationConfig.init(apiKey) first.');
  }
  return _apiKey!;
}