removeShape method
Implementation
void removeShape(String id) {
final int index = _shapes.indexWhere((UDocShape shape) => shape.id == id);
if (index < 0) return;
_checkpoint();
_shapes.removeAt(index);
_commit();
}
void removeShape(String id) {
final int index = _shapes.indexWhere((UDocShape shape) => shape.id == id);
if (index < 0) return;
_checkpoint();
_shapes.removeAt(index);
_commit();
}