_discoveryapis_commons library
Classes
- ApiRequester
- Base class for all API clients, offering generic methods for HTTP Requests to the API
- ApiRequestErrorDetail
- Instances of this class can be added to a DetailedApiRequestError to provide detailed information.
- ByteRange
- Specifies a range of media.
- DownloadOptions
- Represents options for downloading media.
- Media
- Represents a media consisting of a stream of bytes, a content type and a length.
- PartialDownloadOptions
- Options for downloading a Media.
- ResumableUploadOptions
- Specifies options for resumable uploads.
- UploadOptions
- Represents options for uploading a Media.
Properties
- dartVersion → String
-
If
dart:io
is available, returns the current Dart SDK version.no setter
Functions
-
escapeVariable(
String name) → String
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.