toRepositoryTriggerEventEnum method
Implementation
RepositoryTriggerEventEnum toRepositoryTriggerEventEnum() {
switch (this) {
case 'all':
return RepositoryTriggerEventEnum.all;
case 'updateReference':
return RepositoryTriggerEventEnum.updateReference;
case 'createReference':
return RepositoryTriggerEventEnum.createReference;
case 'deleteReference':
return RepositoryTriggerEventEnum.deleteReference;
}
throw Exception('$this is not known in enum RepositoryTriggerEventEnum');
}