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