core.Map<core.String, core.dynamic> toJson() => { if (amountMicros != null) 'amountMicros': amountMicros!, if (currencyCode != null) 'currencyCode': currencyCode!, };