initializeAttributes method

  1. @override
void initializeAttributes(
  1. Map<String, ElementAttributeProperty> attributes
)
override

Implementation

@override
void initializeAttributes(Map<String, ElementAttributeProperty> attributes) {
  super.initializeAttributes(attributes);
  attributes['type'] = ElementAttributeProperty(
      setter: (value) => type = attributeToProperty<String>(value));
}