currencySymbol property

String get currencySymbol

Represents Currency Symbol.

Implementation

String get currencySymbol {
  if (_currencySymbolField == null) {
    final NumberFormat format = NumberFormat.currency(locale: _locale);
    _currencySymbolField = format.currencySymbol;
  } else {
    _currencySymbolField = r'\$';
  }
  return _currencySymbolField!;
}
set currencySymbol (String value)

Implementation

set currencySymbol(String value) {
  _currencySymbolField = value;
}