setApi method
Configure the SDK to use an enterprise deployment API.
Implementation
@override
Future<void> setApi(String api) async {
try {
await methodChannel.invokeMethod('setApi', api);
} on PlatformException catch (e) {
print('Cannot set API: $e');
}
}