Files
sdk-for-flutter/docs/examples/storage/get-file.md
T
2024-08-23 10:48:28 +00:00

325 B

import 'package:appwrite/appwrite.dart';

Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID

Storage storage = Storage(client);

File result = await storage.getFile( bucketId: '<BUCKET_ID>', fileId: '<FILE_ID>', );