JShare class

Constructors

JShare()
factory
JShare.private(MethodChannel channel)

Properties

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

Methods

authorize({required JSharePlatform platform}) Future<JShareSocial>
授权
cancelPlatformAuth({required JSharePlatform platform}) Future<JShareResponse>
取消授权
getUserInfo({required JSharePlatform platform}) Future<JShareUserInfo>
获取个人信息
isClientValid({required JSharePlatform platform}) Future<bool>
判断某平台分享是否有效
isPlatformAuth({required JSharePlatform platform}) Future<JShareResponse>
判断是否授权
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setup({JShareConfig? config}) → void
初始化
shareMessage({required JShareMessage message}) Future<JShareResponse>
分享,
toString() String
A string representation of this object.
inherited

Operators

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