amwal_ecr_platform_interface library
The seam an alternative host implements, and the channel contract it has to honour.
Import this only to write a platform implementation or a fake for tests —
application code wants package:amwal_ecr/amwal_ecr.dart.
Classes
- AmwalEcrPlatform
- The seam between the Dart API and whatever drives the terminal.
- EcrArgs
- Keys in the argument map sent with every call.
- EcrCapabilityKeys
- Keys inside the EcrResultKeys.capabilities map.
- EcrCodec
- Turns the maps the host returns into the typed results callers see.
- EcrConfigKeys
-
Keys inside the
configsub-map. - EcrErrorCodes
- Codes a host uses when it raises an error instead of answering.
- EcrFailureKeys
-
Keys inside the
failuresub-map. - EcrFailureKinds
- Values of EcrFailureKeys.kind.
- EcrMethods
- Names of the methods the plugin invokes on the host.
- EcrNextSteps
- Values of EcrResultKeys.nextStep.
- EcrOutcomes
- Values of EcrResultKeys.outcome for a money-moving operation.
- EcrReachabilityKeys
- Keys in the map returned by EcrMethods.probeReachability.
- EcrRequest
- One call's worth of arguments, on their way to the host.
- EcrResultKeys
- Keys in the maps the host returns.
- EcrTransactionKeys
-
Keys inside the
transactionsub-map of a found inquiry. - MethodChannelAmwalEcr
- Drives the terminal through the native ECR SDK on the other side of a MethodChannel.
Constants
- kEcrMethodChannel → const String
- The channel the plugin talks over.