share static method

Future share(
  1. UmShareBaseModel model
)

分享 @title 分享标题 @text 分享描述 @img 分享图片 @fileImg 本地文件图片路径 @webUrl 分享网页链接 @videoUrl 分享视频链接 @musicUrl 分享音频链接 @shareMedia 分享类型:0: QQ, 1: 新浪微博, 4: QQ空间, 28: 支付宝, 32: 钉钉

Implementation

static Future<dynamic> share(UmShareBaseModel model) async {
  Map<dynamic, dynamic> result = await _channel.invokeMethod('umShare', model.toMap());
  return result;
}