toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (artifact != null) 'artifact': artifact!,
if (build != null) 'build': build!,
if (failureCause != null) 'failureCause': failureCause!,
if (failureMessage != null) 'failureMessage': failureMessage!,
if (metadata != null) 'metadata': metadata!,
};