toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (algorithm != null) 'algorithm': algorithm!,
  if (bigstoreObjectRef != null) 'bigstoreObjectRef': bigstoreObjectRef!,
  if (blobRef != null) 'blobRef': blobRef!,
  if (blobstore2Info != null) 'blobstore2Info': blobstore2Info!,
  if (compositeMedia != null) 'compositeMedia': compositeMedia!,
  if (contentType != null) 'contentType': contentType!,
  if (contentTypeInfo != null) 'contentTypeInfo': contentTypeInfo!,
  if (cosmoBinaryReference != null)
    'cosmoBinaryReference': cosmoBinaryReference!,
  if (crc32cHash != null) 'crc32cHash': crc32cHash!,
  if (diffChecksumsResponse != null)
    'diffChecksumsResponse': diffChecksumsResponse!,
  if (diffDownloadResponse != null)
    'diffDownloadResponse': diffDownloadResponse!,
  if (diffUploadRequest != null) 'diffUploadRequest': diffUploadRequest!,
  if (diffUploadResponse != null) 'diffUploadResponse': diffUploadResponse!,
  if (diffVersionResponse != null)
    'diffVersionResponse': diffVersionResponse!,
  if (downloadParameters != null) 'downloadParameters': downloadParameters!,
  if (filename != null) 'filename': filename!,
  if (hash != null) 'hash': hash!,
  if (hashVerified != null) 'hashVerified': hashVerified!,
  if (inline != null) 'inline': inline!,
  if (isPotentialRetry != null) 'isPotentialRetry': isPotentialRetry!,
  if (length != null) 'length': length!,
  if (md5Hash != null) 'md5Hash': md5Hash!,
  if (mediaId != null) 'mediaId': mediaId!,
  if (objectId != null) 'objectId': objectId!,
  if (path != null) 'path': path!,
  if (referenceType != null) 'referenceType': referenceType!,
  if (sha1Hash != null) 'sha1Hash': sha1Hash!,
  if (sha256Hash != null) 'sha256Hash': sha256Hash!,
  if (timestamp != null) 'timestamp': timestamp!,
  if (token != null) 'token': token!,
};