disableDataWedge method

  1. @override
Future<void> disableDataWedge()
override

Implementation

@override
Future<void> disableDataWedge() async {
  try {
    await methodChannel.invokeMethod('disableDataWedge');
  } on PlatformException {
    //  Error invoking Android method
    print('Platform exception while try to disable the data wedge');
  } catch (error) {
    print('Error sending command to dataWedge: ${error.toString()}');
  }
}