uninitialise method

  1. @override
Future<void> uninitialise({
  1. bool deleteRoot = false,
  2. bool immediate = false,
})
override

Uninitialise this backend, and release whatever resources it is consuming

If deleteRoot is true, then the root will be permanently deleted.

If immediate is true, any operations currently underway will be lost, as the worker will be killed as quickly as possible (not necessarily instantly). If false, all operations currently underway will be allowed to complete, but any operations started after this method call will be lost.

Implementation

@override
Future<void> uninitialise({
  bool deleteRoot = false,
  bool immediate = false,
}) =>
    FMTCObjectBoxBackendInternal._instance
        .uninitialise(deleteRoot: deleteRoot, immediate: immediate);