dispose static method

Future<void> dispose()

Releases streams and platform listeners held by the SDK.

Only needed when the host app tears down the engine manually; regular apps can ignore it.

Implementation

static Future<void> dispose() async {
  await PrinterService.dispose();
  await BluetoothService.dispose();
}