toMap method
Implementation
Map<String, dynamic> toMap() => {
'minFaceSize': this.minFaceSize,
'notFace': this.notFace,
'brightness': this.brightness,
'brightnessMax': this.brightnessMax,
'blurness': this.blurness,
'occlusionLeftEye': this.occlusionLeftEye,
'occlusionRightEye': this.occlusionRightEye,
'occlusionNose': this.occlusionNose,
'occlusionMouth': this.occlusionMouth,
'occlusionLeftContour': this.occlusionLeftContour,
'occlusionRightContour': this.occlusionRightContour,
'occlusionChin': this.occlusionChin,
'headPitch': this.headPitch,
'headYaw': this.headYaw,
'headRoll': this.headRoll,
'eyeClosed': this.eyeClosed,
// 'cacheImageNum': this.cacheImageNum,
'scale': this.scale,
'cropHeight': this.cropHeight,
'cropWidth': this.cropWidth,
'enlargeRatio': this.enlargeRatio,
'faceFarRatio': this.faceFarRatio,
'faceClosedRatio': this.faceClosedRatio,
'secType': this.secType,
'sound': this.sound,
'livenessTypes': this.livenessTypes.map((v) => v.code).toList(),
'livenessRandom': livenessRandom,
};