createDirectFileUploadDescription abstract method
Creates an URL that a client can post a file to via http post, optionally within the specified duration. After the file has been sent, the verifyDirectFileUpload method should be called. If the file upload hasn't been confirmed before the URL expires, the file will be deleted.
Implementation
Future<String?> createDirectFileUploadDescription({
required Session session,
required String path,
Duration expirationDuration = const Duration(minutes: 10),
});