NodesSorter class
Constructors
-
NodesSorter.new([List<
String> order = const []])
Properties
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