padLeft0 method

String padLeft0()

Implementation

String padLeft0() {
  return this.length.isEven ? this : this.padLeft(this.length + 1, '0');
}