toJson method

String toJson()

Implementation

String toJson() {
  return json.encode({
    "imageName": imageName,
    "imagePath": imagePath,
    "imageUrl": imageUrl,
    "imageBytes": imageBytes,
    "width": width,
    "height": height,
    "size": size,
  });
}