toJson method

Map<String, dynamic> toJson()

Implementation

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