removePendingPart method

void removePendingPart(
  1. int index
)

Implementation

void removePendingPart(int index) {
  if (index >= 0 && index < _pendingParts.length) {
    _pendingParts.removeAt(index);
    notifyListeners();
  }
}