Attribute.double constructor
Sets a floating-point attribute.
Implementation
factory Attribute.double(String name, {required double value}) {
return Attribute._(
name: name,
value: value,
valueType: AttributeValueType.double,
kind: AttributeKind.simple,
action: AttributeAction.set);
}