propertiesFromJson static method

Map<String, Property> propertiesFromJson(
  1. Map<String, dynamic> json
)

Map a list of properties from a json map.

Implementation

static Map<String, Property> propertiesFromJson(Map<String, dynamic> json) {
  Map<String, Property> properties = {};
  json.entries.forEach((entry) {
    properties[entry.key] = Property.propertyFromJson(entry.value);
  });
  return properties;
}