setValues method

void setValues(
  1. Map<AFThemeID, dynamic> toSet
)

Use to set multiple values, usually from a statically declared map.

If the value exists, it is not over written. Because the app populates the builder first, this allows the app to override values for plugins.

Implementation

void setValues(Map<AFThemeID, dynamic> toSet) {
  toSet.forEach((id, val) {
    setValue(id, val);
  });
}