Key class

Represents a key in the datastore. Keys are hierarchical path-like strings, e.g., /local/peers/Qm...

Constructors

Key(String s)
Creates a key from a path string, cleaning it if needed.

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
string → String
Returns the cleaned string representation.
no setter

Methods

child(Key child) → Key
Creates a child key under this key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parent() → Key
Returns the parent key.
toString() → String
A string representation of this object.
override

Operators

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