asUriOrNull

Casts this CodeArtifact as a Uri and retrieves its kotlin.String value. Returns null if the CodeArtifact is not a Uri.