Counter class
A counter class that follows the specification outlined at https://www.w3.org/TR/css-lists-3/#auto-numbering.
Essentially, the created Counter stores a value that can be incremented by a given value (even negative numbers).
Constructors
Properties
Methods
-
increment(
[int byValue = 1]) → void - Increment the counter by a given value (default is 1)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Reset the counter to 0.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited