Node<T> class

Represents a node in a linked list.

Constructors

Node({T? data, Node<T>? next})
Constructs a Node with optional data and next node.

Properties

data ↔ T?
The data stored in the node.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
next Node<T>?
Reference to the next node.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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