push method
void
push(
- T? value
Push given value
to end of stack.
Implementation
void push(T? value) {
if (this.value == value) {
return;
}
_stack.add(value);
_notifyParent();
}
Push given value
to end of stack.
void push(T? value) {
if (this.value == value) {
return;
}
_stack.add(value);
_notifyParent();
}