Node<T> constructor
Node<T> ({
- T? data,
- Node<
T> ? next,
Constructs a Node with optional data
and next
node.
Implementation
Node({this.data, this.next});
Constructs a Node with optional data
and next
node.
Node({this.data, this.next});