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 items',
    one: '1 item',
  );
  String _temp1 = intl.Intl.pluralLogic(
    labels,
    locale: localeName,
    other: '$labels labels',
    one: '1 label',
  );
  return 'Labels for $_temp0: $_temp1';
}