collections property

List<String> collections
final

List of collection names to sync with the backend.

Default: empty list (will only sync collections with local data)

Important: For pull sync to work on fresh devices, you must specify which collections to sync. Otherwise, pull sync will only check collections that already have local data.

Example:

collections: ['todos', 'users', 'notes']

Implementation

final List<String> collections;