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