MethodChannelAlipayKit class
An implementation of AlipayKitPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- AlipayKitPlatform
- MethodChannelAlipayKit
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
auth(
{required String authInfo, bool isShowLoading = true}) → Future< void> -
登录
override
-
authResp(
) → Stream< AlipayResp> -
登录
override
-
isInstalled(
) → Future< bool> -
检测支付宝是否已安装
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pay(
{required String orderInfo, bool dynamicLaunch = false, bool isShowLoading = true}) → Future< void> -
支付
override
-
payResp(
) → Stream< AlipayResp> -
支付
override
-
setEnv(
{required AlipayEnv env}) → Future< void> -
支付环境
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited