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