UnitAmount.fromJson(Map<String, dynamic> json) { currencyCode = json['currencyCode']; currencyValue = json['currencyValue']; }