WikiDataLinksRelation constructor

WikiDataLinksRelation(
  1. String fromNodeId,
  2. String toNodeId,
  3. String? wikiRelationId, {
  4. String? wikiLabel,
  5. String? description,
})

Implementation

WikiDataLinksRelation(
  String fromNodeId,
  String toNodeId,
  this.wikiRelationId, {
  this.wikiLabel,
  this.description,
}) : super(
        type: WikiDataRelationType.links.toString(),
        properties: {
          "wikiRelationId": wikiRelationId,
          "wikiLabel": wikiLabel,
          "description": description,
        },
        fromNodeId: fromNodeId,
        toNodeId: toNodeId,
        labelProperty: "wikiLabel",
      );