deleteDataItems method

Future<int> deleteDataItems({
  1. required Uri uri,
  2. UriFilterType filterType = UriFilterType.literal,
})

Delete all DataItems on specific pathURI

Implementation

Future<int> deleteDataItems(
    {required Uri uri, UriFilterType filterType = UriFilterType.literal}) {
  return channel.invokeMethod("deleteDataItems", {
    "path": uri.toString(),
    "filterType": filterType.index
  }).then((deleteCount) => deleteCount ?? 0);
}