onError method Null safety
- Object error,
- [StackTrace? stackTrace]
visibleForOverriding">@visibleForOverriding
A method that handles error events that are passed to the sink.
Implementation
@visibleForOverriding
void onError(Object error, [StackTrace? stackTrace]);