getImageDataKey method

String getImageDataKey()

the json key depending on the image field of this object.

Implementation

String getImageDataKey() {
  String imageDataKey = 'imgupload_${imageField.offTag}';
  if (lang != null) {
    imageDataKey += '_${lang!.offTag}';
  }
  return imageDataKey;
}