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