cardImage

fun cardImage(density: DLImageDensity, size: DLImageSize, background: Boolean): String?

Return image brand URL for an specific density and size. Otherwise will return null when there is no image for that combination of size, density and background.

Return

String URL for the selected brand image

Parameters

density

DLImageDensity for the specific image density

size

DLImageSize small, medium or large

background

Boolean true to return image with background