v1.1.0
egyptian_id_parser
エジプトの国民ID番号から個人情報を抽出する機能を提供するDartパッケージ。
59いいね 5430日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
14桁のエジプト国民ID番号に基づいて、生年月日、性別、州などの個人情報を抽出する機能を提供するDartパッケージ。
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
pub package MIT License Latest Dartdocs Language: Dart GitHub stars All Contributors likes popularity pub points
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}');
}