ethio_validators 0.2.0
ethio_validators: ^0.2.0 copied to clipboard
Validation and formatting utilities for Ethiopian data: mobile phone numbers (Ethio Telecom & Safaricom) and ETB currency. Pure Dart, dependency-free.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ethio_validatorsWith Flutter:
$ flutter pub add ethio_validatorsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ethio_validators: ^0.2.0Alternatively, 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:ethio_validators/ethio_validators.dart';