dispose method

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

Closes the connection to the device.

Implementation

@override
	Future<void> dispose() async {
  _timer?.cancel();
		await _port.dispose();
	}