asPublicUrl

Casts this ImageSource as a PublicUrl and retrieves its kotlin.String value. Throws an exception if the ImageSource is not a PublicUrl.