getImageAsset function

String getImageAsset(
  1. String imageName
)

Returns the full image path for a image in /public/images/ directory. Provide the name of the image, using imageName parameter.

Returns a String.

Implementation

String getImageAsset(String imageName) =>
    "${getEnv("ASSET_PATH_IMAGES")}/$imageName";