apply method

Future<void> apply(
  1. OperationInput input
)

Applies the operation selected by the registry's api.mocks key.

Implementation

Future<void> apply(OperationInput input) async {
  session.policy.ensurePrivilegedOperationPermitted('mocks');
  _apply(TestMockOperations.decode(input));
}