isIDCard15 static method

bool isIDCard15(
  1. String input
)

Return whether input matches regex of id card number which length is 15.

Implementation

static bool isIDCard15(String input) {
  return matches(regexIdCard15, input);
}