OkfGraphEdge class final

A directed relationship originating at an OKF concept.

Constructors

OkfGraphEdge({required OkfConceptId source, required String rawTarget, required OkfGraphEdgeOrigin origin, required OkfGraphResolution resolution, String? resolvedPath, OkfConceptId? targetConcept})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
origin OkfGraphEdgeOrigin
Field or Markdown body in which the relationship appeared.
final
rawTarget String
Target exactly as written by the producer.
final
resolution OkfGraphResolution
Result of resolving the target against the bundle.
final
resolvedPath String?
Normalized bundle-relative target path, if path resolution succeeded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source OkfConceptId
Source concept.
final
targetConcept OkfConceptId?
Target concept when resolution is OkfGraphResolution.resolvedConcept.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Converts this edge to a JSON-compatible object.
toString() String
A string representation of this object.
inherited

Operators

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