toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'barcodeId': barcode.identifier,
    'status': status.toString(),
  };
}