toMap method

  1. @override
Map<String, dynamic> toMap()

Implementation

@override
Map<String, dynamic> toMap() {
  var json = <String, dynamic>{
    'type': 'barcodeCount',
    'feedback': _feedback.toMap(),
    'settings': _settings.toMap(),
    'additionalBarcodes': _additionalBarcodes.map((e) => e.toMap()).toList(growable: false)
  };

  return json;
}