Attribute.double constructor

Attribute.double(
  1. String name, {
  2. required double value,
})

Implementation

factory Attribute.double(String name, {required double value}) {
  return Attribute._(
      name: name,
      value: value,
      valueType: AttributeValueType.double,
      kind: AttributeKind.simple,
      action: AttributeAction.set
  );
}