getApiBaseUrl method
Get API base URL from native code
Implementation
Future<String> getApiBaseUrl() async {
try {
final result = await _channel.invokeMethod<String>('getApiBaseUrl');
return result ?? '';
} on PlatformException {
return '';
}
}