disconnect method

  1. @override
Future<bool> disconnect(
  1. Printer device
)
override

Implementation

@override
Future<bool> disconnect(Printer device) async {
  return await methodChannel.invokeMethod('disconnect', {
    "vendorId": device.vendorId.toString(),
    "productId": device.productId.toString(),
  });
}