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