toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return <String, dynamic>{
"type": _type,
"settings": {
"scanningBehavior": _scanningBehavior.toString(),
"scanningPrecision": _scanningPrecision.toString(),
"previewBehavior": _previewBehavior.toString(),
}
};
}