ScanResponseModel constructor
const
ScanResponseModel({})
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 = '',
});