toSegmentType method
Implementation
SegmentType toSegmentType() {
switch (this) {
case 'TECHNICAL_CUE':
return SegmentType.technicalCue;
case 'SHOT':
return SegmentType.shot;
}
throw Exception('$this is not known in enum SegmentType');
}