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