toReferenceType method
Implementation
ReferenceType toReferenceType() {
switch (this) {
case 'URL':
return ReferenceType.url;
}
throw Exception('$this is not known in enum ReferenceType');
}
ReferenceType toReferenceType() {
switch (this) {
case 'URL':
return ReferenceType.url;
}
throw Exception('$this is not known in enum ReferenceType');
}