PayUtils class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
pay({required PayType payType, dynamic payEntry, required PayCall payCall})
→ void
-
微信、支付宝支付
payType
支付类型
payEntry
支付数据:
当payType==PayType.weChat时为WechatPayEntry
当payType==PayType.aliPay时为AliPayEntry
payCall
支付回调