errorOrNull property

  1. @nonVirtual
  2. @override
Object? errorOrNull
inherited

Last emitted error, or null if no error added.

Implementation

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