BacnetReadAccessSpecification class

Represents a read access specification for a BACnet object.

Defines which object to read from and which properties to retrieve. Used in ReadPropertyMultiple requests to efficiently read multiple properties in a single network transaction.

Annotations
  • @immutable
  • @JsonSerializable.new(explicitToJson: true)

Constructors

BacnetReadAccessSpecification({required BacnetObject objectIdentifier, required List<BacnetPropertyReference> properties})
Creates a read access specification.
const
BacnetReadAccessSpecification.fromJson(Map<String, dynamic> json)
Creates a read access specification from JSON.
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
objectIdentifier → BacnetObject
The BACnet object to read properties from.
final
properties → List<BacnetPropertyReference>
List of property references specifying what to read.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({BacnetObject? objectIdentifier, List<BacnetPropertyReference>? properties}) → BacnetReadAccessSpecification
Creates a copy of this specification with updated values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this specification to JSON.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override