closePort method
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
Implementation
Future<String?> closePort() {
throw UnimplementedError('closeSerial() has not been implemented.');
}