MediaResource class

Constructors

MediaResource(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

download(String name, {String? $fields, DownloadOptions downloadOptions = commons.DownloadOptions.metadata}) → Future<Object>
Downloads the original document content (PDF binary) using media streaming.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
upload(Document request, {String? documentId, String? requestId, String? $fields, UploadOptions uploadOptions = commons.UploadOptions.defaultOptions, Media? uploadMedia}) → Future<Document>
Creates a new Document resource and ingests the manuscript using media upload or Google Drive.

Operators

operator ==(Object other) → bool
The equality operator.
inherited