setApi method

  1. @override
Future<void> setApi(
  1. String api
)
override

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');
  }
}