dispose method - SDKNativeEngine class - core.engine library - Dart API
dispose
dispose abstract method
Stops pending requests and closes open files and databases in main thread.
Dispose signal is sent to dependent modules. Usage of engine, or dependent modules after calling dispose leads to undefined behavior. Please be aware that this method does not clean any type of storage. Note: This method should be called from main thread.
Implementation
Future<void> dispose();