Relation constructor

const Relation({
  1. required String name,
  2. Label<RelationLabel>? label,
  3. PropertyMetadata? metadata,
})

Implementation

const Relation({
  required this.name,
  Label<RelationLabel>? label,
  this.metadata,
}) : label = label ?? const Label(RelationLabel.other);