GoldenToolkit class
Manages global state & behavior for the Golden Toolkit This is a singleton so that it can be easily configured in one place and shared across tests
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Properties
- configuration → GoldenToolkitConfiguration
-
reads the current configuration for based on the active zone, or else falls back to the global static state.
no setter
Static Methods
-
configure(
GoldenToolkitConfiguration configuration) → void - Invoke this to replace the current Golden Toolkit configuration
-
runWithConfiguration<
T> (T body(), {required GoldenToolkitConfiguration config}) → T - Applies a GoldenToolkitConfiguration to a block of code to effectively provide a scoped singleton. The configuration will apply to just the injected body function.