dispose static method

Future<void> dispose()

Dispose resources

Implementation

static Future<void> dispose() async {
  if (_instance != null) {
    await _instance!._syncEngine.stop();
    await _instance!._localStorage.close();
    _instance = null;
    _isInitialized = false;
  }
}