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 this
      ._propDefSortOrderPairList
      .any((pair) => pair.key == propertyDefinition);
}