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 resourceId, {String? $fields, DownloadOptions downloadOptions = commons.DownloadOptions.metadata}) Future<Object>
Downloads rotating barcode values for the transit object referenced by the given object ID.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
upload(TransitObjectUploadRotatingBarcodeValuesRequest request, String resourceId, {String? $fields, Media? uploadMedia}) Future<TransitObjectUploadRotatingBarcodeValuesResponse>
Uploads rotating barcode values for the transit object referenced by the given object ID.

Operators

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