create static method

BarcodeCountStatusResult create(
  1. List<BarcodeCountStatusItem> statusList,
  2. String errorMessage,
  3. String statusModeDisabledMessage
)

Creator method that constructs a BarcodeCountStatusResult representing an error when retrieving the status for the required barcodes. errorMessage will be presented to the user after successfully enabling status mode, and statusModeDisabledMessage will be displayed when exiting it.

Added in version 7.0.0

Implementation

static BarcodeCountStatusResult create(
    List<BarcodeCountStatusItem> statusList, String errorMessage, String statusModeDisabledMessage) {
  return BarcodeCountStatusResultError._(statusList, errorMessage, statusModeDisabledMessage);
}