encoded property

String get encoded

Implementation

String get encoded {
  final operations = worker
      ? "wrkr"
      : (transformations.encode().replaceAll(" ", "").isEmpty
          ? "original"
          : transformations.encode().replaceAll(" ", ""));
  final zonePart = zone != null ? "$zone/" : "";
  return "https://$host/$version/$cloudName/$zonePart$operations/$imagePath";
}