SharedTemplate class final

Describes features that can be created across layers within a geodatabase.

Specifies default attributes, symbology, tools, and settings for geometry construction and transformation.

Implemented types
Mixed-in types

Properties

definition TemplateDefinition?
Defines how the primary, related, part, or preset features are created.
no setter
description String
Additional information about this template.
no setter
hashCode int
The hash code for this object.
no setterinherited
isVisible bool
True if this template can be shown in a template picker, false otherwise.
no setter
layerIds List<int>
A collection of IDs that identify the layers where this template can be used.
no setter
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
name String
The name assigned to this template.
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
tags List<String>
The collection of tags for organizing and searching this template.
no setter
templateId int
A system-generated unique identifier.
no setter
templateSource SharedTemplateSource
The SharedTemplateSource from which this template was queried.
no setter
type SharedTemplateType
The type of the shared template.
no setter

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
createSwatch({required int layerId}) Future<ArcGISImage>
Creates a swatch image with the template's thumbnail or symbology from the specified layer.
getConstructionToolOptions(GeometryConstructionTool tool) Map<CaseInsensitiveString, dynamic>
Returns the configuration setting for the specified geometry construction tool.
getDefaultConstructionTool({required int layerId}) GeometryConstructionTool?
Returns the template's construction tool or a determined default.
getFields({required int layerId}) List<Field>
The collection of Field objects for features created with this template.
isToolApplicable(GeometryConstructionToolType toolType, {required int layerId}) bool
Determines whether the specified construction tool is applicable for the specified layer.
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
retryLoad() Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() String
A string representation of this object.
inherited

Operators

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