toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'artifactId': artifactId,
  'kind': kind,
  'relativePath': relativePath,
  'mediaType': mediaType,
  'sizeBytes': sizeBytes,
  'sha256': sha256,
  if (stepExecutionId != null) 'stepExecutionId': stepExecutionId,
};