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