set method

Future<void> set(
  1. OperationInput input
)

Executes the registered setEnv operation directly.

The compiled runtime selects this method from the operation registry's handler key. That keeps the operation name out of the runtime boundary.

Implementation

Future<void> set(OperationInput input) async {
  session.policy.ensurePrivilegedOperationPermitted('setEnv');
  applyTestEnvironmentOverride(context: session.context, input: input);
}