printJobSummary method

  1. @override
String printJobSummary(
  1. int products,
  2. int labels
)
override

Summary of the labels requested from the products list

In en, this message translates to: 'Labels for {products, plural, =1{1 item} other{{products} items}}: {labels, plural, =1{1 label} other{{labels} labels}}'

Implementation

@override
String printJobSummary(int products, int labels) {
  String _temp0 = intl.Intl.pluralLogic(
    products,
    locale: localeName,
    other: '$products articoli',
    one: '1 articolo',
  );
  String _temp1 = intl.Intl.pluralLogic(
    labels,
    locale: localeName,
    other: '$labels etichette',
    one: '1 etichetta',
  );
  return 'Etichette per $_temp0: $_temp1';
}