mergeAttributes method

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

Merges additional attrs into the current attributes.

If attributes is null, creates a new map and adds attrs to it.

Implementation

void mergeAttributes(Map<String, dynamic> attrs) {
  attributes?.addAll(attrs);
}