handleDebugEvent method

void handleDebugEvent(
  1. String? kind
)

Implementation

void handleDebugEvent(String? kind) {
  switch (kind) {
    case EventKind.kResume:
      _isPaused.value = false;
      break;
    case EventKind.kPauseStart:
    case EventKind.kPauseExit:
    case EventKind.kPauseBreakpoint:
    case EventKind.kPauseInterrupted:
    case EventKind.kPauseException:
    case EventKind.kPausePostRequest:
      _isPaused.value = true;
      break;
  }
}