egyptian_id_parser 1.0.8 copy "egyptian_id_parser: ^1.0.8" to clipboard
egyptian_id_parser: ^1.0.8 copied to clipboard

A Dart package that provides functionality to extract personal information from the Egyptian National ID number. such as date of birth, gender, and governorate based on the 14-digit national ID.

example/egyptian_id_parser_example.dart

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}');
}
59
likes
0
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package that provides functionality to extract personal information from the Egyptian National ID number. such as date of birth, gender, and governorate based on the 14-digit national ID.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on egyptian_id_parser