put method

Returns a new style container with the new attribute

Implementation

EasyAttributeStyles put(EasyAttribute attribute) {
  final Map<String, EasyAttribute> m =
      Map<String, EasyAttribute>.from(attributes);
  m[attribute.key] = attribute;
  return EasyAttributeStyles(attributes: m);
}