GenerateLayerOption.withLayerIdIncludeRelated constructor

GenerateLayerOption.withLayerIdIncludeRelated({
  1. required int layerId,
  2. required bool includeRelated,
})

Creates a new generate layer option instance for use with generate geodatabase on the geodatabase sync task.

Creates a new instance with the supplied layer ID and includeRelated value and the following values:

includeRelated only applies when the queryOption is none.

Parameters:

  • layerId — A layer id in the service.
  • includeRelated — Indicates if related rows should be included.