toAssociationEdgeType method
Implementation
AssociationEdgeType toAssociationEdgeType() {
switch (this) {
case 'ContributedTo':
return AssociationEdgeType.contributedTo;
case 'AssociatedWith':
return AssociationEdgeType.associatedWith;
case 'DerivedFrom':
return AssociationEdgeType.derivedFrom;
case 'Produced':
return AssociationEdgeType.produced;
}
throw Exception('$this is not known in enum AssociationEdgeType');
}