Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rodion-m committed Oct 21, 2024
1 parent 2cbddd5 commit 5eacc6f
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,29 +120,3 @@ await dio.get<dynamic>('https://mock.codes/400');
## Migrating to 7.0

Use `MultipartFile` instead of `MultipartFileRecreatable`.

## Migrating to 6.0

Version 6.0 introduces 2 breaking changes:
- `MultipartFileRecreatable.filename` is now a named parameter
- `MultipartFileRecreatable.filePath` is now removed

To update to the latest version, if you were using the `MultipartFileRecreatable` constructor, remove the `filePath` parameter and change `filename` to a named parameter:

Old:
```dart
return MultipartFileRecreatable(
stream,
length,
filename,
filePath,
);
```
New:
```dart
return MultipartFileRecreatable(
stream,
length,
filename: filename,
);
```

0 comments on commit 5eacc6f

Please sign in to comment.