codesInView method

  1. @override
String codesInView(
  1. int count
)
override

How many codes ScannerTemplate.pick shows labels for: "3 codes".

In en, this message translates to: '{count, plural, one{{count} code} other{{count} codes}}'

Implementation

@override
String codesInView(int count) {
  String _temp0 = intl.Intl.pluralLogic(
    count,
    locale: localeName,
    other: '$count Codes',
    one: '$count Code',
  );
  return '$_temp0';
}