SupabaseRemoteStore constructor
const
SupabaseRemoteStore({})
Creates a Supabase remote store.
client: Your Supabase client instance.userId: Callback that returns the current authenticated user's ID. Called on every sync cycle so it stays fresh across sign-out/sign-in.syncStatusTable: Name of the sync status table (default:sync_status).tableTimestampKeys: Maps table names to theirsync_statuscolumn names. Example:{'tasks': 'tasks_at', 'notes': 'notes_at'}.
Implementation
const SupabaseRemoteStore({
required this.client,
required this.userId,
this.syncStatusTable = 'sync_status',
this.tableTimestampKeys = const {},
});