# getPropertyValues method

1. @override

List<PropertyValue> getPropertyValues()
override

Returns all property values as an unmodifiable list.

Returns a list containing all PropertyValue objects in this collection. The returned list should not be modified.

Example:

    final props = MutablePropertyValues()
      ..addPropertyValueByName('host', 'localhost')
      ..addPropertyValueByName('port', 8080);

    final allValues = props.getPropertyValues();
    for (final pv in allValues) {
      print('${pv.name}: ${pv.value}');
    }

## Implementation

    @override
    List<PropertyValue> getPropertyValues() => List.unmodifiable(_values);