DataMigration
@Singleton
The main functionalities of the DataMigration class are:
Migrating data by updating resources based on a set of data queries and key-value configurations.
Retrieving the latest migration version from shared preferences.
Performing the migration only if the new version is greater than or equal to the latest migration version.
Constructors
Link copied to clipboard
@Inject
Properties
Functions
Link copied to clipboard
This function is responsible for migrating data by updating the resources based on the provided data queries and key-value configurations. It retrieves the latest migration version from shared preferences and performs the migration only if the new version is greater than or equal to the latest migration version.