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