toApprovalModel method
Implementation
ApprovalModel toApprovalModel() {
switch (this) {
case 'AUTOMATIC':
return ApprovalModel.automatic;
case 'MANUAL':
return ApprovalModel.manual;
}
throw Exception('$this is not known in enum ApprovalModel');
}