apiBaseUrl property

Future<String> get apiBaseUrl

Get API base URL from native code

Implementation

Future<String> get apiBaseUrl async {
  if (_cachedApiBaseUrl != null) return _cachedApiBaseUrl!;
  _cachedApiBaseUrl = await _nativeCore.getApiBaseUrl();
  return _cachedApiBaseUrl ?? 'https://api2.onairos.uk';
}