applyStreamCdnImageResizingIfEnabled
fun String.applyStreamCdnImageResizingIfEnabled(streamCdnImageResizing: StreamCdnImageResizing): String
A convenience method which applies Stream CDN image resizing if it's enabled and applicable. It doesn't hold any special value other than minimizing repetition.
Return
The URL to the resized image if resizing was applicable, otherwise returns the URL to the original image.
Parameters
streamCdnImageResizing
Holds value information about the resizing mode including if it is enabled or not.