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