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