serviceUri property
The URL of the service that this portal item represents. This only applies to portal items that represent web-accessible resources such as map services.
Will return null if an error occurs and an empty string if the item doesn't represent a web-accessible resource.
Implementation
Uri? get serviceUri => _serviceUri.value;