toJson method
Allows you to serialize object.
Implementation
Map<String, dynamic> toJson() => {
"dpiThreshold": dpiThreshold,
"angleThreshold": angleThreshold,
"documentPositionIndent": documentPositionIndent,
"focusCheck": focusCheck,
"glaresCheck": glaresCheck,
"colornessCheck": colornessCheck,
"screenCapture": screenCapture,
"expectedPass": expectedPass,
"glaresCheckParams": glaresCheckParams?.toJson(),
"brightnessThreshold": brightnessThreshold,
}.clearNulls();