StackLiftEnabledUser class Null safety

A type that can be used by states to access the library-private RealController _stackLiftEnabled flag. This provides enhanced encapsulation, by explicitly marking states that do this.

Implementers

Constructors

StackLiftEnabledUser()

Properties

controller Controller
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackLiftEnabled bool
Tell if stack lift is enabled. This is considered part of the controller's state, but note that the status from a running program reflects back to when a program isn't running. This is important for proper functioning of the R/S key, and SST. The value comes from the RealController.
@protected, @protected, read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited