mergeAttributes method

void mergeAttributes(
  1. Map<String, dynamic> attributes
)
inherited

Merge new attributes into the model.

Implementation

void mergeAttributes(Map<String, dynamic> attributes) {
  for (final key in attributes.keys) {
    setAttribute(key, attributes[key]);
  }
}