airplaneMode method

Future<bool> airplaneMode()

Open Android settings in Airplane Mode section. returns operation successful or failure.

Implementation

Future<bool> airplaneMode() {
  return sendCustomMessage(
    'android.settings.AIRPLANE_MODE_SETTINGS',
  );
}