toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (artifactId != null) 'artifactId': artifactId!,
if (groupId != null) 'groupId': groupId!,
if (path != null) 'path': path!,
if (repository != null) 'repository': repository!,
if (version != null) 'version': version!,
};