toPrincipalType method
Implementation
PrincipalType toPrincipalType() {
switch (this) {
case 'IAM':
return PrincipalType.iam;
}
throw Exception('$this is not known in enum PrincipalType');
}
PrincipalType toPrincipalType() {
switch (this) {
case 'IAM':
return PrincipalType.iam;
}
throw Exception('$this is not known in enum PrincipalType');
}