A function to set a value as a property or attribute for an element.
typedef ValueSetter = void Function(Element element, String name, Object? value);