StackX<T> class Null safety

StackX is Stack like DS

Constructors

StackX()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isEmpty bool
read-only
isNotEmpty bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addAll(List<T> elements) List<T>
contains(T element) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pop() → T
push(T element) → void
top() → T
toString() String
A string representation of this object. [...]
inherited

Operators

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