String toPaddedString(int length, {String padChar = '0'}) { final val = this?.toInt() ?? 0; return val.toString().padLeft(length, padChar); }