This commit is contained in:
hrxiang
2021-07-09 17:23:20 +08:00
parent 86dca45d0b
commit cdb68da336
2 changed files with 8 additions and 1 deletions

View File

@@ -126,7 +126,7 @@ class GroupManager {
return _channel
.invokeMethod('getGroupsInfo', _buildParam({'gidList': gidList}))
.then((value) {
List list = _formatJson(value) ?? [];
List list = _formatJson(value);
return list.map((e) => GroupInfo.fromJson(e)).toList();
});
}