getGroupsStorageInfos method
Implementation
Future<List<GroupDatabasesInfo>> getGroupsStorageInfos(String sdkId, List<String> groups) async {
final res = await _methodChannel.invokeMethod<String>(
'GroupApi.getGroupsStorageInfos',
{
"sdkId": sdkId,
"groups": jsonEncode(groups.map((x0) => x0).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method getGroupsStorageInfos");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => GroupDatabasesInfo.fromJSON(x1) ).toList();
}