toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (currencyCode != null) 'currencyCode': currencyCode!,
if (endDate != null) 'endDate': endDate!,
if (id != null) 'id': id!,
if (name != null) 'name': name!,
if (rateInMicros != null) 'rateInMicros': rateInMicros!,
if (startDate != null) 'startDate': startDate!,
if (tieredRates != null) 'tieredRates': tieredRates!,
if (type != null) 'type': type!,
if (unitOfMeasure != null) 'unitOfMeasure': unitOfMeasure!,
};