toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (apis != null) 'apis': apis!,
if (author != null) 'author': author!,
if (billingRequired != null) 'billingRequired': billingRequired!,
if (contributors != null) 'contributors': contributors!,
if (description != null) 'description': description!,
if (displayName != null) 'displayName': displayName!,
if (events != null) 'events': events!,
if (externalServices != null) 'externalServices': externalServices!,
if (license != null) 'license': license!,
if (name != null) 'name': name!,
if (params != null) 'params': params!,
if (postinstallContent != null)
'postinstallContent': postinstallContent!,
if (preinstallContent != null) 'preinstallContent': preinstallContent!,
if (readmeContent != null) 'readmeContent': readmeContent!,
if (releaseNotesUrl != null) 'releaseNotesUrl': releaseNotesUrl!,
if (resources != null) 'resources': resources!,
if (roles != null) 'roles': roles!,
if (sourceUrl != null) 'sourceUrl': sourceUrl!,
if (specVersion != null) 'specVersion': specVersion!,
if (version != null) 'version': version!,
};