close method
close close the connection after print with usb printer
Implementation
Future<bool?> close() async {
Map<String, dynamic> params = {
"vendorId": vendorId,
"productId": productId
};
final bool? result = await _channel.invokeMethod('disconnect', params);
return result;
}