put method
Stores the bytes at the specified path.
Returns the path where the file was stored.
Implementation
@override
Future<String> put(String path, List<int> bytes) async {
final fullPath = p.join(root, path);
final file = File(fullPath);
if (!await file.parent.exists()) {
await file.parent.create(recursive: true);
}
await file.writeAsBytes(bytes);
return path;
}