Attribute.set constructor
Attribute.set(
- Entity target,
- AttributeType attribute, {
- required double? value,
sets the base modifier to a value
Implementation
Attribute.set(
this.target,
this.attribute, {
required this.value,
}) : _type = _AttributeType.set,
assert(value != null);