AlipayKitPlatform class abstract

支付宝

  • 默认不包含iOS支付 添加 alipay_kit_ios 依赖,可切换为不包含支付。
  • 不含「iOS 支付」调用会抛出 MissingPluginException
Inheritance
  • Object
  • PlatformInterface
  • AlipayKitPlatform
Implementers

Constructors

AlipayKitPlatform()
Constructs a AlipayKitPlatform.

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

auth({required String authInfo, bool isShowLoading = true}) Future<void>
登录
authResp() Stream<AlipayResp>
登录
isInstalled() Future<bool>
检测支付宝是否已安装
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>
支付
payResp() Stream<AlipayResp>
支付
setEnv({required AlipayEnv env}) Future<void>
支付环境
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AlipayKitPlatform
The default instance of AlipayKitPlatform to use.
getter/setter pair