toSourceType method
Implementation
SourceType toSourceType() {
switch (this) {
case 'ALL':
return SourceType.all;
case 'ANY':
return SourceType.any;
case 'NONE':
return SourceType.none;
}
throw Exception('$this is not known in enum SourceType');
}