ungroupAnnotations method
Ungroups the specified annotations in the current document.
List<Annot> annotations = new List<Annot>();
annotations.add(new Annot(_id1, 1));
annotations.add(new Annot(_id2, 1));
await controller.ungroupAnnotations(annotations);
Implementation
Future<void> ungroupAnnotations(List<Annot>? annotations) {
return _channel
.invokeMethod(Functions.ungroupAnnotations, <String, dynamic>{
Parameters.annotations: jsonEncode(annotations),
});
}