asRootIdOrNull

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