completeError method
Marks this counter as complete
Implementation
void completeError([Object? error, StackTrace? stack]) {
update(_total!.toDouble());
_completer.completeError(error ?? "There was an error", stack);
}
Marks this counter as complete
void completeError([Object? error, StackTrace? stack]) {
update(_total!.toDouble());
_completer.completeError(error ?? "There was an error", stack);
}