setCardQuota method

void setCardQuota(
  1. String value
)

Implementation

void setCardQuota(String value) {
  int index = cardQuotaList.indexOf(value);
  if(index <= -1) return;
  if(index == 0) { selectedQuota = index; }
  else { selectedQuota = index + 1; }
}