toMap method
Implementation
@override
Map<String, dynamic> toMap() {
var json = <String, dynamic>{
'type': 'barcodeFind',
'feedback': _feedback.toMap(),
'settings': _settings.toMap(),
'itemsToFind': jsonEncode(itemsToFind.map((e) => e.toMap()).toList()),
'hasBarcodeTransformer': _barcodeTransformer != null
};
return json;
}