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