sink method
dynamic
sink(
- TBlocstarLogicBaseContext updatedContext
Implementation
sink(TBlocstarLogicBaseContext updatedContext) {
if (isClosed == false) {
context = updatedContext ?? context;
_controller.sink.add(context);
} else {
throw new Exception("Cannot sink into a closed controller");
}
}