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