padZeroInt function

String padZeroInt(
  1. int value
)

Implementation

String padZeroInt(int value) {
  return value.toString().padLeft(2, '0');
}