toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'path': path,
'featureType': featureType ?? typeFeatures,
'keyPointType': keyPointType ?? typeKeyPoints,
'maxSizeFaceOnly': maxSizeFaceOnly ?? true,
'minFaceProportion': minFaceProportion ?? 0.5,
'performanceType': performanceType ?? typePrecision,
'poseDisabled': poseDisabled ?? false,
'shapeType': shapeType ?? typeShapes,
'tracingAllowed': tracingAllowed ?? false,
'tracingMode': tracingMode ?? modeTracingRobust,
};
}