sendWebPageMessage static method
分享网页链接
Implementation
static Future<bool> sendWebPageMessage(String url,
{bool isSendDing = false,
required String title,
required String content,
required String thumbUrl}) async {
bool result = false;
try {
result = await _channel.invokeMethod('sendWebPageMessage', {
"url": url,
"isSendDing": isSendDing,
'title': title,
'content': content,
'thumbUrl': thumbUrl
});
} catch (e) {
print(e);
}
return result;
}