disconnect method

  1. @override
Future<bool> disconnect({
  1. int? delayMs,
})
override

Implementation

@override
Future<bool> disconnect({int? delayMs}) async {
  if (Platform.isAndroid)
    await flutterPrinterChannel.invokeMethod('disconnect');
  else if (Platform.isIOS) await iosChannel.invokeMethod('disconnect');
  return false;
}