338 B
338 B
import 'package:appwrite/appwrite.dart';
// Init SDK Client client = Client(); Storage storage = Storage(client);
client .setProject('5df5acd0d48c2') // Your project ID ;
Future result = storage.getFile( fileId: '[FILE_ID]', );
result .then((response) { print(response); }).catchError((error) { print(error); });