writeBytes abstract method
Future<ObjectInfo>
writeBytes(
- String name,
- List<
int> bytes, { - ObjectMetadata? metadata,
- Acl? acl,
- PredefinedAcl? predefinedAcl,
- String? contentType,
Create an new object in the bucket with specified content.
Writes bytes
to the created object.
See write for more information on the additional arguments.
Returns a Future
which completes with an ObjectInfo
instance when
the object is written.
Implementation
Future<ObjectInfo> writeBytes(String name, List<int> bytes,
{ObjectMetadata? metadata,
Acl? acl,
PredefinedAcl? predefinedAcl,
String? contentType});