disconnect method

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

Disconnect from the currently-connected reader. Emits disconnected on success. Safe to call when nothing is connected; it is a no-op in that case.

Implementation

@override
Future<void> disconnect() async {
  await _invoke<Object?>(MobileReaderChannels.disconnect, null);
}