addRelation abstract method

void addRelation(
  1. Relation relation, {
  2. bool replaceIfExists = true,
})

Add a new relation to the graph

Implementation

void addRelation(Relation relation, {bool replaceIfExists = true});