onError method

  1. @override
void onError(
  1. dynamic error
)
override

When an error event is send on the stream, the onError handler is called.

Implementation

@override
void onError(error) => warning('Error in $runtimeType - $error');