toTargetIdType method
Implementation
TargetIdType toTargetIdType() {
switch (this) {
case 'ACCOUNT':
return TargetIdType.account;
case 'OU':
return TargetIdType.ou;
case 'ROOT':
return TargetIdType.root;
}
throw Exception('$this is not known in enum TargetIdType');
}