amwal_ecr 0.2.1
amwal_ecr: ^0.2.1 copied to clipboard
Drive an Amwal POS terminal from Flutter. One Dart API over the native Android and iOS ECR SDKs: sale, void, refund, inquiry and e-receipt, with typed outcomes that keep an unknown result apart from a refusal.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add amwal_ecrThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
amwal_ecr: ^0.2.1Alternatively, 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:amwal_ecr/amwal_ecr.dart';