twoChar static method

String twoChar(
  1. String value
)

Implementation

static String twoChar(String value) {
  if (value.length < 2) {
    return "0$value";
  }
  return value;
}