downloadThumbnail method
下载缩略图 message
.
Implementation
Future<EMMessage> downloadThumbnail(EMMessage message) async {
Map result = await _channel.invokeMethod(
EMSDKMethod.downloadThumbnail, {"message": message.toJson()});
EMError.hasErrorFromResult(result);
return EMMessage.fromJson(result[EMSDKMethod.downloadThumbnail]);
}