mapStatusEnum function

RDStatus mapStatusEnum(
  1. String status
)

Implementation

RDStatus mapStatusEnum(String status) {
  switch (status.toUpperCase()) {
    case "READY":
      return RDStatus.READY;
    case "NOTREADY":
    default:
      return RDStatus.NOTREADY;
  }
}