setValues method

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

Implementation

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

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

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

    setValue(key, newValue);
  }
}