toChildType method
Implementation
ChildType toChildType() {
switch (this) {
case 'ACCOUNT':
return ChildType.account;
case 'ORGANIZATIONAL_UNIT':
return ChildType.organizationalUnit;
}
throw Exception('$this is not known in enum ChildType');
}