thai_promptpay 0.3.0
thai_promptpay: ^0.3.0 copied to clipboard
Pure-Dart PromptPay (Thai EMVCo QR) toolkit: build and parse the QR payload for mobile, National ID / Tax ID, e-Wallet and Bill Payment, with amount and CRC validation.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add thai_promptpayWith Flutter:
$ flutter pub add thai_promptpayThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
thai_promptpay: ^0.3.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:thai_promptpay/thai_promptpay.dart';