toJson method
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,
};