toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "imageId": imageId,
      "autoDimension": autoDimension,
      "hasAdvancedOptions": hasAdvancedOptions,
      "dimension": dimension?.toJson(),
      "alignment": alignment,
      "margin": margin?.toJson(),
      "roundness": roundness,
      "_id": id,
      "imageUrl": imageUrl,
    };