error property Null safety

Error? error
@optional, read / write

The error that is causing this isolate to exit, if applicable.

Implementation

@optional
Error? error;