toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'action': action == null ? null : action!.toMap(),
'detectionTimeOut': detectionTimeOut,
'cameraFrame': cameraFrame.toJson(),
'faceFrame': faceFrame.toJson(),
'textMargin': textMargin,
'textOptions': textOptions == null ? null : textOptions!.toJson(),
'title': title,
'showStatusCodes': showStatusCodes,
'statusCodes': statusCodes,
};
}