merge method

Style merge(
  1. Attribute attribute
)

Implementation

Style merge(Attribute attribute) {
  final merged = Map<String, Attribute>.from(_attributes);
  if (attribute.value == null) {
    merged.remove(attribute.key);
  } else {
    merged[attribute.key] = attribute;
  }
  return Style.attr(merged);
}