ChildKey class final

The name of a child; integer-like names (within int32) carry intValue and sort numerically before every other name.

Implemented types

Constructors

ChildKey(String name)
Creates the key for name, parsing its integer form once.
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
intValue → int?
The integer value of an integer-like name, else null.
final
isInt → bool
Whether the name is integer-like.
no setter
isPriorityKey → bool
Whether this is the .priority key.
no setter
name → String
The name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(ChildKey other) → int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
The name.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

info → const ChildKey
The .info root key.
max → const ChildKey
The key that sorts after every other key ([MAX_NAME]).
min → const ChildKey
The key that sorts before every other key ([MIN_NAME]).
priority → const ChildKey
The .priority pseudo-child.