toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"mode": mode.value,
"url": url,
"imageFormat": imageFormat.value,
"imageCompressionQuality": imageCompressionQuality,
"processParams": processParams.toJson(),
}.clearNulls();