error property Null safety

ErrorRef? error
@optional, read / write

The error which occurred during class finalization, if it exists.

Implementation

@optional
ErrorRef? error;