Counter class

Counts the number of times the validation has been performed.

Constructors

Counter({int init = 0, ValObj val = _ok})
init the initial count value. val an optional extra validation step.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The current count value.
no setter

Methods

call(Object? value) String?
Does not perform any validation - just increases its counter upon validation request.
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