onStateError method
- @protected
@protected
Method that is called when the state's stream reports an error. Prints the error message by default.
Implementation
@protected
void onStateError(Object error, StackTrace stackTrace) {
print(error);
print(stackTrace);
}