Attribute.decreasedCounter constructor

Attribute.decreasedCounter(
  1. String name, {
  2. int decValue = 1,
})

Implementation

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