shutdown method Null safety

void shutdown()

Used to shutdown Realm and allow the process to correctly release native resources and exit.

Disclaimer: This method is mostly needed on Dart standalone and if not called the Dart probram will hang and not exit. This is a workaround of a Dart VM bug and will be removed in a future version of the SDK.


static void shutdown() => scheduler.stop();