v1.1.0
egyptian_id_parser
一个 Dart 包,可从埃及身份证号码中提取个人信息。
59喜欢 55近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个 Dart 包,可从 14 位埃及身份证号码中提取个人信息,例如出生日期、性别和省区。
以下为英文项目原文快照,最新内容请访问 GitHub。
The Egyptian ID Parser is a Dart package designed to extract personal information from the Egyptian National ID number. This package enables developers to easily retrieve essential details, including date of birth, gender, and governorate, from the 14-digit national ID.
YYYY-MM-DD from the national ID.pubspec.yaml file and import it into your project.dependencies:
egyptian_id_parser: ^1.1.0
EgyptianIdParser with a valid ID number to access birth date, governorate, gender, and age information. :
import 'package:egyptian_id_parser/egyptian_id_parser.dart';
void main() {
String idNumber = "12345678901234"; // Replace with a valid ID number
var id = EgyptianIdParser(idNumber);
print('Birth Date: ${id.birthDate}');
print('Governorate: ${id.governorate}');
print('Gender: ${id.gender}');
print('Age: ${id.age}');
}
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗