Metadatable class abstract

Metadatable provides an API for notes and kvps that are available at each scope of a Traindown document.

Implementers

Constructors

Metadatable()

Properties

hashCode int
The hash code for this object.
no setterinherited
kvps Map<String, String>
Convenience access to kvps.
no setter
metadata Metadata
getter/setter pair
notes List<String>
Convenience access to notes.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit String
getter/setter pair

Methods

addKVP(String key, String value) → void
Adds the key value pair to the KVPs.
addNote(String note) → void
Adds a note.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setKVP(String key, String value) → void
Sets the value for the given key.
toString() String
A string representation of this object.
inherited

Operators

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