util/migration_utils library

Utilities for migrating cached video data between storage systems.

This library provides migration functions to help users transition from get_storage to shared_preferences for cached video metadata storage.

Basic Usage

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Migrate cached video data from get_storage to shared_preferences
  // This should be called and awaited before calling runApp()
  await migrateCachedVideoDataToSharedPreferences();

  runApp(MyApp());
}

Functions

migrateCachedVideoDataToSharedPreferences() Future<void>
Migrates cached video data from get_storage to shared_preferences.