onError method
Invoked on stream errors with the error object and possibly a stack trace.
Implementation
void onError(Stream stream, dynamic error, StackTrace stackTrace) {}
Invoked on stream errors with the error object and possibly a stack trace.
void onError(Stream stream, dynamic error, StackTrace stackTrace) {}