deleteRange method

void deleteRange(
  1. int from,
  2. int to, {
  3. int part = 0,
})

Delete a range of coordinates from the marker between given indexes.

Parameters

  • IN from The start index of the deleted coordinates list
  • IN to The last index of the deleted coordinates list ( excluding ). If -1, the delete will perform until the end of the coordinates list
  • IN part The marker part index to which the function applies, default 0 ( first part )

Implementation

void deleteRange(int from, int to, {int part = 0}) {
  objectMethod(
    _pointerId,
    'Marker',
    'delRange',
    args: <String, Object>{'from': from, 'to': to, 'part': part},
  );
}