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