timeExtent property
The time extent that includes all of the data in the layer.
The time extent of the service. Will return null if an error occurs or if the service is not time aware.
Implementation
TimeExtent? get timeExtent => _timeExtent.value;