isIDCard15 static method

bool isIDCard15(
  1. String input
)

Return whether input matches regex of id card number which length is 15. 返回输入是否匹配长度为15的身份证号码的正则表达式。

Implementation

static bool isIDCard15(String input) {
  return matches(RegexConstants.REGEX_ID_CARD15, input);
}