isMobileExact method

bool isMobileExact(
  1. String input
)

Return whether input matches regex of exact mobile. 精确验证是否是手机号

Implementation

bool isMobileExact(String input) {
  return matches(RegexConstants.REGEX_MOBILE_EXACT, input);
}