of static method

FakeAgentInterface of(
  1. FakeWorld world
)

The agent interface of world, created on first use.

Implementation

static FakeAgentInterface of(FakeWorld world) =>
    _of[world] ??= FakeAgentInterface._(world);