dispose method

void dispose()

Implementation

void dispose() {
  _isolateNow = null;
  if (!_completer.isCompleted) {
    _completer.complete(null);
  } else {
    _completer = Completer()..complete(null);
  }
}