MethodChannelMpayPlugin class

An implementation of MpayPluginPlatform that uses method channels.

Inheritance

Properties

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

Methods

aliPay(String data, String setIosUrlSchema) Future<Map>
支付寶支付
override
getPlatformVersion() Future<String?>
override
init({AliPayEnv aliPayEnv = AliPayEnv.ONLINE, MPayEnv mPayEnv = MPayEnv.PRODUCTION}) Future<void>
初始化设置(
override
mPay(String? data, {PayChannel channel = PayChannel.mPay, String? withScheme}) Future<Map>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerApi({required String appId, bool doOnIOS = true, bool doOnAndroid = true, String? universalLink}) Future<bool>
override
toString() String
A string representation of this object.
inherited
wechatPay(PayType which) Future<Map>
微信支付
override

Operators

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