IoHost class final

The machine smf runs on: its terminal, file system, environment variables and processes.

Constructors

IoHost({required bool verbose, required Interruption interruption})
Creates the machine of a run, which reports details if verbose and handles Ctrl-C with interruption.

Properties

hashCode → int
The hash code for this object.
no setterinherited
host → SmfHost
The host of the pipeline.
latefinal
logger → SmfLogger
Reports to the terminal.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

hasTerminal → bool
Whether a user sits at a terminal that can answer questions.
no setter
operatingSystem → HostOperatingSystem
The operating system of this machine.
no setter

Static Methods

operatingSystemOf(String name) → HostOperatingSystem
The operating system that Platform.operatingSystem calls name.