Attribute.int constructor

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

Implementation

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