OnRechargePluginDelegate class abstract

定义一个抽象类-充值

Constructors

OnRechargePluginDelegate()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

logEvent(String name) → void
埋点统计
跳转网页支付
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popDialog() → void
关闭提示框
rechargeSuccess(String? money, String? addMoney, String? price) → void
支付成功加币
showDialogBase(int type) Future
提示弹窗-返回弹窗实例、需要控制层级 type 类型 1:支付失败-苹果调取和返回 类型 2:重试弹窗-接口重试 类型 3:重试弹窗-显示反馈 类型 4:重试弹窗-只显示重试
showErrorToast(dynamic res) → void
吐司弹窗-接口请求错误
showLoadingDialog() Future
转圈提示框
showToast(int type, [bool success = false]) → void
吐司弹窗 type 类型 1:取消支付 类型 2:支付失败 类型 3:重试弹窗-点击继续-1个按钮 类型 4:重试弹窗-点击继续-2个按钮
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited