toMap method
Implementation
Map<String, dynamic> toMap() {
var json = super.toMap();
json.addAll({
'defaultBrush': _brush.toMap(),
'shouldShowScanAreaGuides': _shouldShowScanAreaGuides,
'style': style.toString()
});
return json;
}