EdgeType class

Standard edge types for Kumiho relationships.

These constants define the semantic meaning of relationships between revisions. Use them when creating or querying edges.

// Model depends on texture
await client.createEdge(
  modelRevision.kref.uri,
  textureRevision.kref.uri,
  EdgeType.dependsOn,
);

// LOD derived from high-poly
await client.createEdge(
  lodRevision.kref.uri,
  highpolyRevision.kref.uri,
  EdgeType.derivedFrom,
);

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isValid(String edgeType) bool
Checks if a string is a valid edge type.

Constants

belongsTo → const String
Ownership or grouping relationship.
contains → const String
Source contains or includes target.
createdFrom → const String
Source was generated/created from target.
dependsOn → const String
Source requires target to function.
derivedFrom → const String
Source was derived or modified from target.
referenced → const String
Soft reference relationship.
values → const List<String>
All valid edge type values.