remove method

void remove(
  1. String id
)

Implementation

void remove(String id) {
  final int index = _markups.indexWhere((UDocMarkup markup) => markup.id == id);
  if (index < 0) return;
  _checkpoint();
  _markups.removeAt(index);
  _commit();
}