transform method

String? transform(
  1. num? value, [
  2. String currencyCode = 'USD',
  3. bool symbolDisplay = false,
  4. String? digits,
])

Implementation

String? transform(
  num? value, [
  String currencyCode = 'USD',
  bool symbolDisplay = false,
  String? digits,
]) =>
    _NumberPipe._format(
      value,
      _NumberFormatStyle.currency,
      digits,
      currencyCode,
      symbolDisplay,
    );