dataProvider property

AiutaDataProvider? dataProvider
final

Optional data provider to manage data of the Aiuta SDK. This allows you to store and retrieve data (such as user consent, uploaded images, generation history) from your own data source. If not provided, the Aiuta SDK uses the built-in data provider that stores data in local storage on the device. Default data storage is not linked to the user and is not shared between different devices. Will be deleted when the app is uninstalled. Creating a custom data provider allows you to store data in your own data source and link it to the user.

Implementation

final AiutaDataProvider? dataProvider;