Context class

The library's contextual data, Context represents the library's state.

Some values may not persist throughout runs, this depends on whether their class was declared with Persistence.

Context is mutable by desigm to allow for in-place mutation. State manipulation ought to occur in an encapsulated and controlled manner. See CoreNotifier.

Annotations
  • @sealed

Constructors

Context(Config config, {User? user, Telemetry? telemetry})

Properties

config Config
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
telemetry → Telemetry
final
user User?
getter/setter pair

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