toJson method
Implementation
Map<String, dynamic> toJson() {
final imageType = this.imageType;
final imageIdOverride = this.imageIdOverride;
return {
'imageType': imageType,
if (imageIdOverride != null) 'imageIdOverride': imageIdOverride,
};
}