fileContent property

Uint8List get fileContent

Content of a File object (FakeBacnetDevice.addFile).

Implementation

Uint8List get fileContent => Uint8List.fromList(_file ?? const []);
set fileContent (List<int> content)

Implementation

set fileContent(List<int> content) {
  _file = [...content];
  properties[BacnetPropertyId.fileSize] = BacnetUnsigned(content.length);
}