Attribute.increasedCounter constructor

Attribute.increasedCounter(
  1. String name, {
  2. int incValue = 1,
})

Implementation

factory Attribute.increasedCounter(String name, {int incValue = 1}) {
  return Attribute._(
      name: name,
      value: incValue,
      valueType: AttributeValueType.int,
      kind: AttributeKind.counter,
      action: AttributeAction.inc
  );
}