From 5eacc6f6c2f728d25a43ca5168fd2fc2470f57c6 Mon Sep 17 00:00:00 2001 From: Rodion Mostovoi <36400912+rodion-m@users.noreply.github.com> Date: Mon, 21 Oct 2024 19:45:57 +0800 Subject: [PATCH] Update readme --- README.md | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/README.md b/README.md index 0cf23c5..5ee149d 100644 --- a/README.md +++ b/README.md @@ -120,29 +120,3 @@ await dio.get('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, -); -``` \ No newline at end of file