EnvironmentOperationHandler class final
Executes the environment mutation that has a direct session context API.
Runtime environment operations use the context and runtime state directly. This avoids rebuilding a legacy TestStep for operations whose mutation boundary is already owned by the session context.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session → LocalTestExecutionSession
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetApiCalls(
[Map< String, dynamic> input = const {}]) → Future<void> -
Executes the registered
resetApiCallsoperation directly. -
set(
OperationInput input) → Future< void> -
Executes the registered
setEnvoperation directly. -
setDevice(
OperationInput input) → Future< void> -
setLocale(
OperationInput input) → Future< void> -
setPermission(
OperationInput input) → Future< void> -
setTheme(
OperationInput input) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited