toJson method
Allows you to serialize object.
Implementation
Map<String, dynamic> toJson() => {
"useLivenessCheck": useLivenessCheck,
"livenessParams": livenessParams.toJson(),
"checkUVLuminiscence": checkUVLuminiscence,
"checkIRB900": checkIRB900,
"checkImagePatterns": checkImagePatterns,
"checkFibers": checkFibers,
"checkExtMRZ": checkExtMRZ,
"checkExtOCR": checkExtOCR,
"checkAxial": checkAxial,
"checkBarcodeFormat": checkBarcodeFormat,
"checkIRVisibility": checkIRVisibility,
"checkIPI": checkIPI,
"checkPhotoEmbedding": checkPhotoEmbedding,
"checkPhotoComparison": checkPhotoComparison,
"checkLetterScreen": checkLetterScreen,
}.clearNulls();