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');