tcid_checker 1.0.2
tcid_checker: ^1.0.2 copied to clipboard
Determines that given TC Id is valid or not based on rules --> * The ones digit of the sum of the first 10 digits gives the 11th digit. * The ones digit of 7 times the sum of the 1st, 3rd, 5th, 7th an [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tcid_checkerWith Flutter:
$ flutter pub add tcid_checkerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tcid_checker: ^1.0.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tcid_checker/tcid_checker.dart';