addAdapter method

void addAdapter(
  1. NetLensAdapter adapter
)

Injects this core into adapter. An adapter which can send calls again is used to replay calls of its client.

Implementation

void addAdapter(NetLensAdapter adapter) {
  adapter.injectCore(this);
  if (adapter is NetLensCallReplayer) {
    _replayers.add(adapter as NetLensCallReplayer);
  }
}