setValuesFromString method

void setValuesFromString(
  1. Map<String, dynamic>? values
)

Implementation

void setValuesFromString(Map<String, dynamic>? values) {
  if (values == null) return;

  for (final key in values.keys) {
    final newValue = values[key];

    if (newValue == null) {
      console.warning('Material setValues: $key parameter is null.');
      continue;
    }

    setValueFromString(key, newValue);
  }
}