percentPattern method

String percentPattern([
  1. String? locale
])

format number with intl percentPattern format

Implementation

String percentPattern([String? locale]) {
  if (this == null) return '';
  return NumberFormat.percentPattern(locale).format(this!);
}