handle method

void handle(
  1. String operationId,
  2. FakeHandler handler
)

Registers handler for operationId (the handler registry of Design note 3).

Implementation

void handle(String operationId, FakeHandler handler) =>
    rest.handle(operationId, handler);