SqliteLocalRepository<T extends CloudSyncable> constructor
SqliteLocalRepository<T extends CloudSyncable> ({})
Creates a SqliteLocalRepository instance.
database is the sqlite database.
fromJson is a function to convert a JSON map into a T object.
tableName is the name of the table in the SQLite database
where the entities are stored.
Implementation
SqliteLocalRepository({
required this.database,
required this.fromJson,
required this.tableName,
});