toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'type': 'barcodeCountStatusResultSuccess',
    'statusList': _statusList.map((e) => e.toMap()).toList(),
    'statusModeEnabledMessage': _statusModeEnabledMessage,
    'statusModeDisabledMessage': _statusModeDisabledMessage,
  };
}