parse static method
Parses the given textValue
Implementation
static AlarmTriggerRelationship parse(String textValue) {
switch (textValue) {
case 'START':
return AlarmTriggerRelationship.start;
case 'END':
return AlarmTriggerRelationship.end;
}
throw FormatException('Invalid RELATED content [$textValue]');
}