Skip to main content

teardownHive static method

[Future<[void>]]

Closes all opened Hive boxes and the Hive instance itself.

This method ensures that all Hive boxes are properly closed to avoid potential data corruption when the application is terminated or when Hive is no longer needed.

params: None

returns: None

Implementation

static Future<void>  async 
  1. talawa
  2. hive_manager
  3. HiveManager
  4. teardownHive static method
HiveManager class