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