libLotUart top-level property

LibLotUart libLotUart

Implementation

LibLotUart get libLotUart {
  final path = Platform.environment['LIBLOT_UART_PATH'];
  return _libLotUart ??= path != null
      ? LibLotUart(ffi.DynamicLibrary.open(path))
      : LibLotUart(ffi.DynamicLibrary.process());
}