ArcGISFeatureTable class final

A table of features that typically represent real-world objects created from an ArcGIS feature service or an ArcGIS geodatabase.

This is the base class for the ArcGIS specific feature tables GeodatabaseFeatureTable and ServiceFeatureTable. You can create instances of these subclasses using their constructors.

If the FeatureTable.hasGeometry is true, you can display the features in an ArcGISMap or ArcGISScene. To do this create a FeatureLayer from the feature table and add it to the map or scene's collection of operational layers (GeoModel.operationalLayers). The ArcGISFeatureTable can also contain features that do not have a geometry (FeatureTable.hasGeometry is false).

ArcGISFeatureTable provides methods for querying related features (for example, ArcGISFeatureTable.queryRelatedFeaturesAsync(ArcGISFeature)), and methods to create new features based on a FeatureSubtype or a FeatureTemplate.

Inheritance
Implementers

Properties

defaultSubtypeCode → dynamic
The table's default subtype code.
no setter
displayName String
A user-friendly name that can be displayed in the UI (for example, in a Table of Contents).
getter/setter pairinherited
editableAttributeFields List<Field>
A list of editable fields.
no setter
extent Envelope?
The geographic extent of features within the table.
no setterinherited
featureSubtypes List<FeatureSubtype>
The table's feature subtypes.
no setter
featureTemplates List<FeatureTemplate>
A list of the feature templates on this table.
no setter
featureTypes List<FeatureType>
The feature types for this table.
no setter
fields List<Field>
The collection of Field objects representing the fields of the feature table.
no setterinherited
geometryType GeometryType
The type of geometry of the features stored in this table.
no setterinherited
globalIdField String
The global id field name.
no setter
hasAttachments bool
True if the features in this table support attachments, false otherwise.
no setter
hasGeometry bool
True if the feature table supports geographic features, false otherwise.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasM bool
True if the feature table supports geometries with M values, false otherwise.
no setterinherited
hasZ bool
True if the feature table supports geometries with Z values, false otherwise.
no setterinherited
isEditable bool
True if this feature table is editable, false otherwise.
no setterinherited
layer Layer?
The layer that displays this table, if any.
no setterinherited
layerInfo ArcGISFeatureLayerInfo?
The service information related to the feature layer.
no setter
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
numberOfFeatures int
The number of features in the table.
no setterinherited
objectIdField String
The object id field name.
no setter
onLoadStatusChanged Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceLayerId int
The layer ID in the feature service that this table was created from.
no setter
spatialReference SpatialReference?
The spatial reference of the table.
no setterinherited
subtypeField String
The table's subtype field.
no setter
tableName String
The name of the table in the source dataset.
no setterinherited
typeIdField String
The type id field name.
no setter
useAdvancedSymbology bool
True if the table is using advanced symbology, false otherwise.
getter/setter pair
username String
The username of the feature table.
no setter

Methods

addFeature(Feature feature) Future<void>
Adds a feature to the table.
inherited
addFeatures(List<Feature> features) Future<void>
Adds a collection of features to the table.
inherited
canAdd() bool
Determines whether you can add new features to the table.
inherited
cancelLoad() → void
Cancels loading metadata for the object.
inherited
canDelete(Feature feature) bool
Determines whether you can delete the feature from the table.
inherited
canEditGeometry() bool
Determines whether you can edit the geometry field in a table.
inherited
canUpdate(Feature feature) bool
Determines whether you can update the feature in the table.
inherited
createFeature({Map<String, dynamic> attributes = const {}, Geometry? geometry}) Feature
Creates a new feature with the provided attribute values and, optionally, geometry.
inherited
createFeatureWithSubtype(FeatureSubtype featureSubtype, {Geometry? geometry}) ArcGISFeature
Creates a new feature based on the provided feature subtype and geometry.
createFeatureWithTemplate(FeatureTemplate featureTemplate, {Geometry? geometry}) ArcGISFeature
Creates a new feature based on the provided feature template and geometry.
createFeatureWithType(FeatureType featureType, {Geometry? geometry}) ArcGISFeature
Creates a new feature based on the provided feature type and geometry.
deleteFeature(Feature feature) Future<void>
Deletes a feature from the table.
inherited
deleteFeatures(List<Feature> features) Future<void>
Deletes a collection of features from the table.
inherited
getAddedFeatures() Future<FeatureQueryResult>
Returns the features added since the last sync.
getAddedFeaturesCount() Future<int>
Returns the number of features added since the last sync.
getDeletedFeatures() Future<FeatureQueryResult>
Returns the features deleted since the last sync.
getDeletedFeaturesCount() Future<int>
Returns the number of features deleted since the last sync.
getFeatureTemplate({required String name}) FeatureTemplate?
Searches for the feature template with the given name.
getFeatureType({required String name}) FeatureType?
Searches for the feature type with the given name.
getField({required String fieldName}) Field?
Retrieves the field with the given name.
inherited
getLocalEdits() Future<LocalFeatureEditsResult>
Returns all the features that were added, updated or deleted since the last sync.
getLocalEditsCount() Future<int>
Returns the number of features that were added, updated or deleted since the last sync.
getRelatedTables() List<ArcGISFeatureTable>
Returns a list of all related tables that have been added to the map.
getRelatedTablesWithRelationshipInfo(RelationshipInfo relationshipInfo) List<ArcGISFeatureTable>
Returns list of tables related by the given relationship info.
getUpdatedFeatures() Future<FeatureQueryResult>
Returns the features updated since the last sync.
getUpdatedFeaturesCount() Future<int>
Returns the number of features updated since the last sync.
hasLocalEdits() bool
Checks whether the feature table has local edits.
load() Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryExtent(QueryParameters queryParameters) Future<Envelope>
Determines the minimum bounding envelope that contains features satisfying the provided query parameters.
inherited
queryFeatureCount(QueryParameters queryParameters) Future<int>
Determines the count of features that satisfy the provided query parameters.
inherited
queryFeatures(QueryParameters queryParameters) Future<FeatureQueryResult>
Submits a query against the table.
inherited
queryRelatedFeatureCount({required ArcGISFeature feature, RelatedQueryParameters? parameters}) Future<int>
Performs a query that returns the number of related features to supplied feature based on the parameters.
queryRelatedFeatures({required ArcGISFeature feature, RelatedQueryParameters? parameters}) Future<List<RelatedFeatureQueryResult>>
Queries for related features of a given feature in a specific relationship.
queryStatistics(StatisticsQueryParameters statisticsQueryParameters) Future<StatisticsQueryResult>
Calculates values for the requested statistics.
inherited
retryLoad() Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() String
A string representation of this object.
inherited
updateFeature(Feature feature) Future<void>
Updates a feature in the table.
inherited
updateFeatures(List<Feature> features) Future<void>
Updates a collection of features in the table.
inherited
validateRelationshipConstraints({required ArcGISFeature feature}) Future<RelationshipConstraintViolationType>
Validates constraints for a given feature participating in a relationship.

Operators

operator ==(Object other) bool
The equality operator.
inherited