Sync constructor

const Sync({
  1. bool sharedGlobalIds = false,
})

Enables sync for an @Entity class.

Note that currently sync can not be enabled or disabled for existing entities. Also synced entities can not have relations to non-synced entities.

Implementation

const Sync({this.sharedGlobalIds = false});