diff --git a/lib/mop.dart b/lib/mop.dart index 371ee94..faa42f5 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -1,4 +1,5 @@ import 'dart:async'; +import 'dart:convert'; import 'dart:io'; import 'package:flutter/foundation.dart'; @@ -1325,7 +1326,8 @@ class Mop { } ///获取分享信息 - Future getMiniShareInfo(Map info) async { - return await _channel.invokeMethod("getMiniShareInfo", {"info": info}); + Future getMiniShareInfo(String info) async { + var tmp = jsonDecode(info); + return await _channel.invokeMethod("getMiniShareInfo", {"info": tmp}); } }