nik_parser_flutter 0.1.0
nik_parser_flutter: ^0.1.0 copied to clipboard
A pure Dart library for parsing and validating Indonesian NIK (Nomor Induk Kependudukan). Extract province code, birth date, and gender from the 16-digit national ID number.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nik_parser_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
nik_parser_flutter: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:nik_parser_flutter/nik_parser_flutter.dart';