toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (enablePiracyCheck != null) 'enablePiracyCheck': enablePiracyCheck!,
if (kind != null) 'kind': kind!,
if (packageName != null) 'packageName': packageName!,
if (preferred != null) 'preferred': preferred!,
};