errorOrNull property

  1. @override
Object? get errorOrNull
override

Last emitted error, or null if no error added.

Implementation

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