Set multiple attributes at once
void setAttributes(Map<String, dynamic> attrs) { _attributes.addAll(attrs); }