` Future<String> getShareList() async { if (_dsmId == null) { return ""; } String listJson = await _methodChannel .invokeMethod('DSM_get_share_list', <String, dynamic>{'id': _dsmId}); return listJson; } ` should change the listJson type to 'Map'
`
Future getShareList() async {
if (_dsmId == null) {
return "";
}
String listJson = await _methodChannel
.invokeMethod('DSM_get_share_list', <String, dynamic>{'id': _dsmId});
return listJson;
}
`
should change the listJson type to 'Map'