padZero method

String padZero(
  1. int number
)

Implementation

String padZero(int number) {
  return number.toString().padLeft(2, '0');
}