terminalFor method

CommandProjectionEntry? terminalFor(
  1. String commandId
)

The terminal entry for commandId, or null if not yet terminal.

Implementation

CommandProjectionEntry? terminalFor(String commandId) {
  final e = _entries[commandId];
  return (e != null && e.terminal) ? e : null;
}