Counter class
a class that holds a counter that can only be increased or reset
- Implementers
Constructors
- Counter()
Properties
Methods
-
increase(
) → void - increses the count by one, it's meant for internal use
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
set the count to
0
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited