isIdCard18 property
bool
get
isIdCard18
是否是身份证
Implementation
bool get isIdCard18 => hasMatch(
"^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9Xx])\$");
是否是身份证
bool get isIdCard18 => hasMatch(
"^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9Xx])\$");