layerOptions property
The list of layers and tables to include in the geodatabase if the sync model is layer.
This must be populated with minimum of one valid layer id. For valid layers and tables see ArcGISFeatureServiceInfo.layerInfos and ArcGISFeatureServiceInfo.tableInfos. You can also populate with all layers using GeodatabaseSyncTask.createDefaultGenerateGeodatabaseParameters
Implementation
List<GenerateLayerOption> get layerOptions => _layerOptions.value;