formatDigitPatternEnd method
每隔 x 位加 pattern,从末尾开始。
Implementation
String formatDigitPatternEnd({int digit = 4, String pattern = ' '}) {
final s = this;
if (s == null) return '';
String temp = s.reverse();
temp = temp.formatDigitPattern(digit: digit, pattern: pattern);
temp = temp.reverse();
return temp;
}