DefSwitch class final Protocol

A defSwitch element.

Inheritance

Constructors

DefSwitch({required String name, String? label, required SwitchState state})
Creates a switch element definition.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String?
A human readable label, or null to use name.
finalinherited
name → String
The element name, unique within its property.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → SwitchState
The initial state.
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