FlutterDingtalk class

Constructors

FlutterDingtalk()

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 Properties

ddResponseEventHandler Stream<BaseDDShareResponse>
DingTalk api response callback Steam 钉钉授权等回调信息.
no setter
platformVersion Future<String>
no setter

Static Methods

isDingDingInstalled() Future<bool>
true if DingTalk installed,otherwise false. 是否安装了钉钉
registerApp(String appId, String iosBundleId) Future<bool>
iosBundleId is necessary on IOS 注册钉钉,IOS端必传buindleId
sendAuth(String state) Future<bool>
The DingTalk-Login is under Auth-2.0 This method login with native DingTalk app. This method only supports getting AuthCode,this is first step to login with DingTalk Once AuthCode got, you need to request Access_Token For more information please visit:
sendImageMessage({bool isSendDing = false, String? picUrl, String? picPath}) Future<bool>
picUrl is necessary on IOS 分享图片(IOS端必传picUrl)
sendTextMessage(String text, {bool isSendDing = false}) Future<bool>
分享文本
sendWebPageMessage(String url, {bool isSendDing = false, required String title, required String content, required String thumbUrl}) Future<bool>
分享网页链接