sendTextMessage static method
分享文本
Implementation
static Future<bool> sendTextMessage(String text,
{bool isSendDing = false}) async {
bool result = false;
try {
result = await _channel.invokeMethod(
'sendTextMessage', {"text": "$text", "isSendDing": isSendDing});
} catch (e) {
print(e);
}
return result;
}