toJson method
Implementation
Map<String, dynamic> toJson() => {
'artifactId': artifactId,
'kind': kind,
if (path != null) 'path': path,
if (mimeType != null) 'mimeType': mimeType,
if (byteLength != null) 'byteLength': byteLength,
};