PowerTrait class
Constructors
- PowerTrait.new(State state, {required SupportsDiscreteOnOff supportsDiscreteOnOff})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOn → bool?
-
no setter
- name ↔ String
-
latefinalinherited
-
properties
↔ Set<
Property> -
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
↔ Set<
State> -
latefinalinherited
- supportsDiscreteOnOff → bool?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
propertyWhereType<
T extends Property> () → T -
inherited
-
stateWhereType<
T extends State> () → State? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited