# getPropertyValue method

1. @override

PropertyValue? getPropertyValue(

1. String propertyName

)
override

Retrieves a property by its `propertyName`, or `null` if not found.

`propertyName`: The name of the property to retrieve Returns the PropertyValue with the given name, or null if not found.

Example:

    final props = MutablePropertyValues()
      ..addPropertyValueByName('timeout', 5000);

    final timeout = props.getPropertyValue('timeout');
    print(timeout?.value); // 5000

## Implementation

    @override
    PropertyValue? getPropertyValue(String propertyName) {
      for (final pv in _values) {
        if (pv.getName() == propertyName) {
          return pv;
        }
      }
      return null;
    }