getSublayerWithSubtypeCode method

SubtypeSublayer? getSublayerWithSubtypeCode(
  1. dynamic code
)

Finds a SubtypeSublayer for a feature subtype based on the FeatureSubtype.code.

When working with a particular ArcGISFeature, the FeatureSubtype.code is the value of the ArcGISFeatureLayerInfo.subtypeField field. The corresponding SubtypeSublayer can be found using the value of that field.

Parameters:

  • code — The subtype code of the sublayer to retrieve.

Return Value: The SubtypeSublayer of the subtype code.