Terminal constructor
Terminal()
Interface for the underlying native terminal.
Implementation
factory Terminal() => Platform.isWindows ? WindowsTerminal() : UnixTerminal();
Interface for the underlying native terminal.
factory Terminal() => Platform.isWindows ? WindowsTerminal() : UnixTerminal();