EscapeSequence class abstract final

A CSI escape sequence.

Inheritance

Constructors

EscapeSequence(String finalChars, {String prefix = '', Iterable<int> parameters = const [], Iterable<int> defaults = const []})
Creates a new escape sequence.
factory
EscapeSequence.unchecked(@mustBeConst String finalBytes, {@mustBeConst String prefix, @mustBeConst List<int> parameters, @mustBeConst List<int> defaults})
Creates a new escape sequence without copying or validating the inputs.
const
factory

Properties

finalChars String
Final characters for the escape sequence.
no setter
hashCode int
The hash code for this object.
no setteroverride
parameters List<int>
Parameters for the escape sequence.
no setter
prefix String
Prefis characters for the escape sequence.
no setter
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
toEscapedString({bool verbose = false}) String
Returns the string representation of this sequence.
override
toString() String
A string representation of this object.
override
toTerse() EscapeSequence
Returns the terse representation of this sequence.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

tryParse(String string) EscapeSequence?
Parses an escape sequence from the given string.