cash_gl_plugin 1.0.8 cash_gl_plugin: ^1.0.8 copied to clipboard
A Flutter plugin for cash_gl including payment and other tools with android, created by Chongyu Yuan.
1. Add to pubspec.yaml #
dependencies:
....cash_gl_plugin: ^1.0.8
2. Install #
flutter pub get
3. Import #
import 'package:cash_gl_plugin/cash_gl_plugin.dart';
4. Usage #
PayWithMpurseResult result = await new CashGlPlugin().payWithMpurse(amount, txnId, mpQueryId, partnerId, createTime, payerVa); print('result.resultCode: ${result.resultCode}');
LivenessResult result = await new CashGlPlugin().liveness(); print('LivenessResult: $result');