WeaverSwitchScope class
Defines a switch scope: several labeled child entry points, only one active at a time.
Use with multiple OnEnterScope methods, each with a distinct OnEnterScope.name.
weaver_builder generates a handler and a scope type with one factory per child
(similar to an enum of modes). See WeaverScope for ordinary single-entry scopes.
Constructors
- WeaverSwitchScope({required String name})
-
Creates a WeaverSwitchScope annotation with the given
name.const
Properties
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