SetSwitchVector class final Protocol
A setSwitchVector command.
- Inheritance
-
- Object
- IndiCommand
- SetVector<
OneSwitch> - SetSwitchVector
Constructors
-
SetSwitchVector({required String device, required String name, PropertyState? state, double? timeout, DateTime? timestamp, String? message, required List<
OneSwitch> elements}) -
Creates a switch property update.
const
Properties
- device → String
-
The device that owns the property.
finalinherited
-
elements
→ List<
OneSwitch> -
The new element values.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
A message for the user that accompanies the update.
finalinherited
- name → String
-
The property name.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → PropertyState?
-
The new state, or
nullif it did not change.finalinherited - timeout → double?
-
The new timeout in seconds, or
nullif it did not change.finalinherited - timestamp → DateTime?
-
When the driver generated the update.
finalinherited
- type → PropertyType
-
The type of the property.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited