ScanResponseModel constructor

const ScanResponseModel({
  1. required int operationType,
  2. required int responseCode,
  3. required String responseMsg,
  4. required String scannedData,
  5. String rawResponse = '',
})

converts pinelabs response to dart object operationType is the operation code of the response. responseCode is the response code of the response. responseMsg is the response message of the response. rawResponse is the string response received from pinelabs.

Implementation

const ScanResponseModel({
  required this.operationType,
  required this.responseCode,
  required this.responseMsg,
  required this.scannedData,
  this.rawResponse = '',
});