ListStack<E> class

Constructors

ListStack()

Properties

isEmpty bool
check if the stack is empty.
read-only
isNotEmpty bool
check if the stack is not empty.
read-only
size int
check if the stack is not empty.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() → void
peek() → E
get the top of the stack without deleting it.
pop() → E
get the top of the stack and delete it.
push(E item) → E
push element in top of the stack.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited