getSSCCCode method
Implementation
String? getSSCCCode(
GS1Barcode gs1barcode,
) {
String barcode = gs1barcode.elements.entries.fold(
'',
(prevValue, entry) => prevValue += entry.value.rawData,
);
barcode = '${gs1barcode.AIs.first}$barcode';
if (barcodesDictionary.isSSCC(barcode)) {
return barcode;
} else {
return null;
}
}