LibserialportSerialTransport constructor

LibserialportSerialTransport({
  1. DynamicLibrary? library,
  2. String? libraryPath,
  3. Duration pollInterval = const Duration(milliseconds: 5),
  4. int readBufferSize = 1024,
})

Implementation

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