DeviceScenario class
Class containing whats required to create a Scenario
Constructors
- DeviceScenario({required Key key, required DeviceScenarioWidget widget, OnScenarioCreate? onCreate})
- constructs a DeviceScenario
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key
-
key that references created scenario and specific device
final
- onCreate → OnScenarioCreate?
-
function that is executed after initial pump of widget
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → DeviceScenarioWidget
-
widget that represents this device/scenario
final
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