Files
2025-04-22 17:02:33 +04: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>', );