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