[Flutter] Retrofit_generator exception - toJson() method have to add to List<xxx>
[SEVERE] retrofit_generator on lib/services/client_api.dart: Exception: toJson() method have to add to List @MultiPart() @PUT('$xxx/xxx') Future modifyFoodDiaryImages( @Part(name: 'list') List list, @Part(name: 'files') List files, ); Issue : The 'Part' of http, which is a List, throws an exception when generating a client api g.dart file. It worked perfectly before upgrading to the specs below...
App/Flutter
2023. 10. 10. 10:24
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- futter_api
- AndroidWirelessDebug
- android_app_links
- dagger-hilt
- retrofit_generator
- android_domain
- MultipleFirebaseEnvironments
- WirelessDebug
- retrofit_generator_conflicts_with_freezed
- flutter_storage_not_working_for_the_first_time
- KotlinFlow
- FirebaseConfigurationForMultipleBuildTypes
- retrofit_toJson()_error
- Kotlin
- phplaravel
- FlutterWirelessDebuginAOS
- querydslKotlinError
- android_app_links_domain
- mvvm
- querydslQclass
- querydsl5.0.0jakarta
- unsplashAPI
- android_app_link_domain_works_with_adb_but_not_works_with_browser
- laravel9
- RunAFlutterProjectIniPhoneFromVSCode
- Laravel
- Android
- flutter
- flutter_android_app_links
- flutter_secure_storage_issue_iOS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함