An interface for a command that performs an action on a terminal.
A set of built-in commands are provided and it is rare to need to create a custom command; however, it is possible to create a custom command by implementing this interface.
- Implementers
- Annotations
Constructors
- Command()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
toSequence(
) → Sequence - Returns the ANSI escape sequence for this command.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
Constants
- none → const Command
- A command that does nothing and returns Sequence.none when rendered.