currencyCode property

String? currencyCode
final

ISO 4217 code for MFormat.currency, e.g. 'USD'.

Without it the value is formatted in the device's currency, so a BTC/USD widget rendered "JOD 64,510.000" on a phone set to Jordan — the number was never converted, only relabelled. Set this whenever the amount is in a known currency rather than the user's own.

Implementation

final String? currencyCode;