create static method

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

Creator method that constructs a BarcodeCountStatusResult representing success when retrieving the status for the required barcodes. statusModeEnabledMessage 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 statusModeEnabledMessage, String statusModeDisabledMessage) {
  return BarcodeCountStatusResultSuccess._(statusList, statusModeEnabledMessage, statusModeDisabledMessage);
}