Remove method

bool Remove(
  1. PropertyDefinitionBase propertyDefinition
)
Removes the specified property definition from the collection. The property definition.

Implementation

bool Remove(PropertyDefinitionBase propertyDefinition) {
  final forRemove = this
      ._propDefSortOrderPairList
      .where((pair) => pair.key == propertyDefinition);
  forRemove.forEach(this._propDefSortOrderPairList.remove);
  int count = forRemove.length;
  return count > 0;
}