NodesSorter class

Constructors

NodesSorter.new([List<String> order = const []])

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareNodesByName(NodeInterface a, NodeInterface b) int
getOrder() List<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseNames(List names) List<NameIndexable>
setOrder(List<String> names) bool
It takes only the unique strings names and sort using the order of appearance
sort(List<NodeInterface> nodes) List<NodeInterface>
toString() String
A string representation of this object.
inherited
valueByName(String name) int

Operators

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