namePercent method

  1. @override
String namePercent(
  1. String name,
  2. num value
)
override

No description provided for @namePercent.

In en, this message translates to: '{name} {value}'

Implementation

@override
String namePercent(String name, num value) {
  final intl.NumberFormat valueNumberFormat = intl.NumberFormat.percentPattern(localeName);
  final String valueString = valueNumberFormat.format(value);

  return '$name $valueString';
}