setDefault method

void setDefault(
  1. ValueSetter? setter
)

If no function is specified for a given name, a default function is used that applies values as described in Attributes and Properties. This can be changed by specifying the default function.

FIXME: not yet working

Implementation

void setDefault(ValueSetter? setter) {
  this['__default'] = setter;
}