Contains method

bool Contains(
  1. PropertyDefinitionBase propertyDefinition
)
Determines whether the collection contains the specified property definition. The property definition.

Implementation

bool Contains(PropertyDefinitionBase propertyDefinition) {
  return _propDefSortOrderPairList.any(
    (pair) => pair.key == propertyDefinition,
  );
}