MeSHDataNode class abstract

Inheritance
Implementers

Constructors

MeSHDataNode({required String uuid, required MeSHDataNodeType meSHDataNodeType, required Map<String, dynamic> properties, required String labelProperty, required String? urlProperty})

Properties

hashCode int
Hash code of this Node, which is equal to hash code of the Node id.
no setterinherited
icon → NodeIcon
Node icon
finalinherited
id String
Identifier of this Node. It's a combination of Node type and its unique property, concatenated by a dash.
no setterinherited
label String
Getter for label property
no setterinherited
labelProperty String
A property key within properties to be used as the label of the node. Mainly used for visual identification purposes.
finalinherited
meSHDataNodeType MeSHDataNodeType
getter/setter pair
properties Map<String, dynamic>
Node properties. Keys must be string and values must be JSON serializable.
finalinherited
relatives Future<Iterable<Tuple2<Relation, Node>>>
Relatives of this node that can be generated if/when needed. Subclasses must implement this getter, while making sure each generated Relation either starts or ends at this Node.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Node type
finalinherited
uniqueProperty String
A property key within properties that is unique for a given Node type.
finalinherited
uniqueValue String
Getter for unique value property
no setterinherited
url String?
Getter for url
no setterinherited
urlProperty String?
A property key within properties that contains a launchable URL (web address).
finalinherited
uuid String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
Create JSON serializable representation of this Node.
inherited
toString() String
Generates a string of the JSON output of this node
inherited

Operators

operator ==(Object other) bool
Equality checks for Node id only
inherited