exception property Null safety

InstanceRef? exception
@optional, read / write

If this error is due to an unhandled exception, this is the exception thrown.

Implementation

@optional
InstanceRef? exception;