delete method

void delete(
  1. int index, {
  2. int part = 0,
})

Delete a coordinate from the marker.

Parameters

  • IN index The position of the deleted coordinate
  • IN part The marker part index to which the function applies, default 0 (first part).

Throws

  • An exception if it fails.

Implementation

void delete(final int index, {final int part = 0}) {
  objectMethod(
    _pointerId,
    'Marker',
    'del',
    args: <String, int>{'index': index, 'part': part},
  );
}