forwardError method
Forwards error
Implementation
void forwardError(e, {bool keepOpen = false, st}) {
if (_completer.isCompleted == false) {
_completer.completeError(e, st);
}
if (keepOpen == false) {
close();
}
}
Forwards error
void forwardError(e, {bool keepOpen = false, st}) {
if (_completer.isCompleted == false) {
_completer.completeError(e, st);
}
if (keepOpen == false) {
close();
}
}