dispose method

  1. @override
void dispose()
override

Releases all resources associated with the serial port.

@note Call this function after you're done with the serial port.

Implementation

@override
void dispose() {
  stopListening();
  _inner.dispose();
}