toResourceShareType method
Implementation
ResourceShareType toResourceShareType() {
switch (this) {
case 'FOREIGN':
return ResourceShareType.foreign;
case 'ALL':
return ResourceShareType.all;
}
throw Exception('$this is not known in enum ResourceShareType');
}