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