LibserialportSerialTransport constructor
LibserialportSerialTransport({
- DynamicLibrary? library,
- String? libraryPath,
- Duration pollInterval = const Duration(milliseconds: 5),
- int readBufferSize = 1024,
Implementation
LibserialportSerialTransport({
DynamicLibrary? library,
String? libraryPath,
this.pollInterval = const Duration(milliseconds: 5),
this.readBufferSize = 1024,
}) : _bindings =
LibserialportBindings(library ?? openLibserialport(path: libraryPath));