toResourceShareAssociationType method
Implementation
ResourceShareAssociationType toResourceShareAssociationType() {
switch (this) {
case 'PRINCIPAL':
return ResourceShareAssociationType.principal;
case 'RESOURCE':
return ResourceShareAssociationType.resource;
}
throw Exception('$this is not known in enum ResourceShareAssociationType');
}