HistoryVersions class
Defines the HistoryVersions API.
HistoryVersions API Provides the functions of querying, viewing, updating, and deleting historical versions of files for users.
Constructors
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
-
delete(
HistoryVersionsRequest request) → Future< bool> - Deletes a historical version of a file.
-
getContent(
HistoryVersionsRequest request) → Future< ExecuteResponse> - Sends a media request to the server and returns media content.
-
getContentAndDownloadTo(
HistoryVersionsRequest request, String path) → Future< bool> - Sends a media request to the server and writes the input stream of returned media content into the specified destination output path.
-
getContentAsInputStream(
HistoryVersionsRequest request) → Future< Int8List> - Sends a media request to the server and returns a media content input stream.
-
getHistoryVersion(
HistoryVersionsRequest request) → Future< HistoryVersion> - Obtains the metadata or content of a historical file version by file ID and ID of a historical file version.
-
list(
HistoryVersionsRequest request) → Future< HistoryVersionList> - Lists the historical versions of a file.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
HistoryVersionsRequest request) → Future< HistoryVersion> - Updates a historical version of a file.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited