updateConnectionState method

void updateConnectionState(
  1. Object owner,
  2. TerminalConnectionState state
)

Mirrors the state of the attached terminal.

Implementation

void updateConnectionState(Object owner, TerminalConnectionState state) {
  if (!identical(_owner, owner)) return;
  _connectionState = state;
}