Alibc class

Constructors

Alibc()

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

Operators

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

Static Methods

invoke(String method, [dynamic arguments]) Future<AlibcResult>
islogin() Future<AlibcResult>
检查是否登录
login() Future<AlibcResult>
淘宝账号授权登录
logout() Future<AlibcResult>
退出淘宝账号授权
openPage(AlibcPageBase page, AlibcShowParams show, {AlibcTaokeParams taoke = const AlibcTaokeParams(), Map<String, String> track = const {}}) Future<AlibcResult>
打开淘宝页面 page: AlibcDetailPage AlibcShopPage AlibcMyCartsPage AlibcAddCartPage AlibcMyOrdersPage
openURL(String url, AlibcShowParams show, {String kit = '', AlibcTaokeParams taoke = const AlibcTaokeParams(), Map<String, String> track = const {}}) Future<AlibcResult>
打开链接
setChannel(String type, String channel) Future<AlibcResult>
渠道信息
setISVCode(String code) Future<AlibcResult>
ISV的Code
setISVVersion(String version) Future<AlibcResult>
ISV的版本,通常为本APP版本
setSyncForTaoke(bool issync) Future<AlibcResult>
是否使用同步淘客打点
setTaokeParams(AlibcTaokeParams taoke) Future<AlibcResult>