LinkedListNode<T> class

Constructors

LinkedListNode(T value)
Creates a new linked list node with the given value

Properties

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

Methods

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

Operators

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

Static Methods

fromList<T>(List<T> values) LinkedListNode<T>?
Creates a linked list from a list of values
length<T>(LinkedListNode<T>? head) int
Gets the length of a linked list
toList<T>(LinkedListNode<T>? head) List<T>
Converts a linked list to a list of values