InputHistory class

encapsulation history for ShellInput._handleUpArrow and ShellInput._handleDownArrow

Constructors

InputHistory()

Properties

diffIndex ↔ int
count of you press UpArrow
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
history → List<String>
history command
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
simple to get value
no setter

Methods

add(String value) → void
add value to history
down() → void
edge safe down
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
up() → void
edge safe up

Operators

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