presignUpload method
Generate a temporary upload URL or return null when unsupported.
Implementation
@override
Future<CloudPresignedUpload?> presignUpload(
String path,
Duration expires, {
Map<String, dynamic>? options,
}) async {
final key = _fullKey(path);
final expiresInSeconds = expires.inSeconds;
final url = await client.presignedPutObject(
bucket,
key,
expires: expiresInSeconds,
);
return CloudPresignedUpload(url: url, headers: const {});
}