KnowledgeRelationship class final
One entry of a concept's relationships field.
Constructors
- KnowledgeRelationship({required String relationship, required String resource})
-
const
- KnowledgeRelationship.toConcept({required String relationship, required OkfConceptId target})
-
A relationship to the concept
target, written as its bundle-relative path with each segment percent-encoded, such as/reporting/pdf-export.md.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- relationship → String
-
The relationship's name.
final
- resource → String
-
What the relationship points at: a bundle path or a URI.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited