openDataRoamingSettings static method

Future<void> openDataRoamingSettings({
  1. bool asAnotherTask = false,
  2. Function? callback,
})

Future async method call to open data roaming settings.

Implementation

static Future<void> openDataRoamingSettings(
    {bool asAnotherTask = false, Function? callback}) async {
  await _channel.invokeMethod('data_roaming', {
    'asAnotherTask': asAnotherTask,
  });
  if (callback != null) handleCallback(callback);
}