Counter class
An incrementing and decrementing counter metric.
Constructors
Properties
Methods
-
dec(
[int n = 1]) → void -
Decrement the counter by
n
or1
if ommitted. -
inc(
[int n = 1]) → void -
Increment the counter by
n
or1
if ommitted. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited