getCurrency method
Returns the ISO 4217 code for the currency that this formatter formats. Returns null if type is not "currency".
Implementation
String? getCurrency() {
if (_type != 'currency') {
return null;
}
return _currencyCode;
}
Returns the ISO 4217 code for the currency that this formatter formats. Returns null if type is not "currency".
String? getCurrency() {
if (_type != 'currency') {
return null;
}
return _currencyCode;
}