handle property

Pointer<DeviceHandle> handle

Device handle, attempts to open the device if no handle.

Implementation

Pointer<DeviceHandle> get handle {
  if (isClosed) {
    open();
  }
  return _handle!;
}