enableDataWedge method
Implementation
@override
Future<void> enableDataWedge() async {
try {
await methodChannel.invokeMethod('enableDataWedge');
print('Enabled scanning');
} on PlatformException {
print('Platform exception while enabling the data wedge');
} catch (error) {
print('Error sending command to dataWedge: ${error.toString()}');
}
}