removeLeadingZeros method

String removeLeadingZeros()

Implementation

String removeLeadingZeros() {
  for (var i = 0; i < length; i++) {
    if (this[i] != '0') {
      return substring(i);
    }
  }
  return '0';
}