imgAddHost method

String imgAddHost()

Implementation

String imgAddHost() {
  if (this == null || this!.length < 4) return '';
  if (this!.contains(AppHolder.HOST) || this!.startsWith('http'))
    return this!;
  return AppHolder.HOST + '/' + this!;
}