image static method

String? image(
  1. String? imageUrl
)

Implementation

static String? image(String? imageUrl) {
  if (imageUrl == null || imageUrl == '') {
    return null;
  } else if (imageUrl.contains('http')) {
    return imageUrl;
  } else {
    return '${FastCache(FastActions.imageHost()).value}$imageUrl';
  }
}