getApiToken static method

String getApiToken()

Implementation

static String getApiToken() {
  if (_apiToken.isEmpty) {
    throw Exception('API token is not set. Call setApiToken() first.');
  }
  return _apiToken;
}