errorOrNull property

  1. @override
Object? get errorOrNull
override

Returns the last emitted error, or null if error events haven't yet been emitted.

Implementation

@override
Object? get errorOrNull => _wrapper.errorAndStackTrace?.error;