Equatable Stack
An implementation of the [Stack] data structure, which also supports value equality.
Features
- Value equality
- A copyWith Method
Getting started
Add equatable_stack
as a dependency in your pubspec.yaml file.
Usage
Simply use the Stack
class to create a instance.
final foo = Stack<int>(); // a empty stack
final bar = Stack.of(const [1, 2, 3]); // stack from a iterable
Additional information
Feel free to create an issue. here. Contributing guide will be added soon. PRs and new feature requests are always welcome.