restart method
Restarts this program, usually by disposing and re-initializing the collection.
Implementation
Future<void> restart() async {
await collection?.dispose();
await collection?.init();
}
Restarts this program, usually by disposing and re-initializing the collection.
Future<void> restart() async {
await collection?.dispose();
await collection?.init();
}