toMap method

Map<String, dynamic> toMap()

Implementation

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