kill method

void kill()

Kills the Agent's isolate. Any interaction with the Agent after this will result in a StateError.

Implementation

void kill() {
  _isolate = null;
}