isPalindrome method

bool isPalindrome()

Checks if int value is Palindrome. 检查int是否为回文

Implementation

bool isPalindrome() {
  var numericOnly = TransformUtils.numericOnly(this.toString());
  return ValidatorUtils.isPalindrome(numericOnly);
}