SyncLayerOption constructor

SyncLayerOption({
  1. int layerId = 0,
  2. SyncDirection syncDirection = SyncDirection.bidirectional,
})

Creates a new sync layer option with layer id and sync direction.

Parameters:

  • layerId — A layer id to synchronize.
  • syncDirection — The synchronization direction of the layer or table.