initializeFromTerminice method

void initializeFromTerminice(
  1. Terminice origin
)
inherited

Captures the terminal and execution policy for a factory-created indicator.

Implementation

void initializeFromTerminice(Terminice origin) {
  final terminal = origin.terminal ?? TerminalContext.current;
  _terminal = terminal;
  _executionMode = origin.fallbackMode.executionModeFor(terminal);
}