toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (blobRef != null) 'blobRef': blobRef!,
      if (blobstore2Info != null) 'blobstore2Info': blobstore2Info!,
      if (cosmoBinaryReference != null)
        'cosmoBinaryReference': cosmoBinaryReference!,
      if (crc32cHash != null) 'crc32cHash': crc32cHash!,
      if (inline != null) 'inline': inline!,
      if (length != null) 'length': length!,
      if (md5Hash != null) 'md5Hash': md5Hash!,
      if (objectId != null) 'objectId': objectId!,
      if (path != null) 'path': path!,
      if (referenceType != null) 'referenceType': referenceType!,
      if (sha1Hash != null) 'sha1Hash': sha1Hash!,
    };