layerId property

int get layerId

The layer ID in the feature service.

The layer ID defined in the source. If a layer ID is not provided, the property value is -1.