We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e862a commit 879dd29Copy full SHA for 879dd29
example/README.md
@@ -41,7 +41,7 @@ Upload File:
41
```dart
42
Storage storage = Storage(client);
43
44
-InputFile file = InputFile(path: './path-to-file/image.jpg', fileName: 'image.jpg');
+InputFile file = InputFile(path: './path-to-file/image.jpg', filename: 'image.jpg');
45
46
storage.createFile(
47
bucketId: '[BUCKET_ID]',
lib/src/input_file.dart
@@ -3,7 +3,7 @@ import 'package:http/http.dart' show MultipartFile;
3
class InputFile {
4
final MultipartFile? file;
5
final String? path;
6
- final String? fileName;
+ final String? filename;
7
8
- InputFile({this.file, this.path, this.fileName});
+ InputFile({this.file, this.path, this.filename});
9
}
0 commit comments