# MutablePropertyValues.fromMap constructor

MutablePropertyValues.fromMap(

1. Map<String, Map<String, Object?>> source

)

Create from a Map of property names to values.

`source`: Map containing property names as keys and values as values

Example:

    final map = {'host': 'localhost', 'port': 8080, 'enabled': true};
    final propertyValues = MutablePropertyValues.fromMap(map);
    print(propertyValues.getPropertyValue('host')?.getValue()); // 'localhost'

## Implementation

    MutablePropertyValues.fromMap(Map<String, Map<String, Object?>> source) {
      source.forEach((name, value) {
        final qn = value['qualifiedName'] as String?;
        final pn = value['packageName'] as String?;
        final object = value['value'];

        _values.add(PropertyValue(name, object, qualifiedName: qn, packageName: pn));
      });
    }