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