toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ApprovalModel.automatic:
      return 'AUTOMATIC';
    case ApprovalModel.manual:
      return 'MANUAL';
  }
}