mobile_carrier_detection 1.0.0 mobile_carrier_detection: ^1.0.0 copied to clipboard
This library detects the mobile carrier of a given South African phone number based on specific number patterns.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mobile_carrier_detection
With Flutter:
$ flutter pub add mobile_carrier_detection
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
mobile_carrier_detection: ^1.0.0
Alternatively, 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:mobile_carrier_detection/mobile_carrier_detection.dart';