GenerateLayerOption class final
An object that is used in conjunction with GenerateGeodatabaseParameters to identify what layers or tables to take offline.
This object allows you to set properties on a layer or table to specify what features to take offline.
- Implemented types
Constructors
- GenerateLayerOption({int layerId = 0})
-
Creates a new generate layer option instance with a given layer id for use
with generate geodatabase on the geodatabase sync task.
factory
- GenerateLayerOption.withLayerIdIncludeRelated({required int layerId, required bool includeRelated})
-
Creates a new generate layer option instance for use with generate
geodatabase on the geodatabase sync task.
factory
- GenerateLayerOption.withLayerIdWhereClause({required int layerId, required String whereClause})
-
Creates a new generate layer option instance with the supplied layer id
and where clause for use with generate geodatabase on the geodatabase sync
task.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeRelated ↔ bool
-
Indicates if only related rows are added to the specific
GenerateLayerOption.layerId
in the generated geodatabase.getter/setter pair - layerId ↔ int
-
The layer or table Id to be included in the service generated geodatabase.
getter/setter pair
- queryOption ↔ GenerateLayerQueryOption
-
Whether all, filtered or no features will be copied from the server when
creating a geodatabase.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useGeometry ↔ bool
-
Indicates if GenerateGeodatabaseParameters.extent is used to filter the
features for downloading.
getter/setter pair
- whereClause ↔ String
-
The where clause of the generate layer option.
getter/setter pair
Methods
-
clone(
) → GenerateLayerOption - Clones the GenerateLayerOption.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited