valueText static method

String valueText(
  1. int? num, {
  2. bool needNumberDescription = true,
})

Implementation

static String valueText(int? num, {bool needNumberDescription = true}) {
  return (num ?? 0) >= 90000 ? 'Unlimited' : needNumberDescription ?'${((num ?? 0) == 0 ? 'ZERO' : converter.convertInt(num)).toUpperCase()} (${num ?? 0})' : '${(num ?? 0)}';
}