Open wincLei opened 3 months ago
Same issue
I am also facing same issue
` get generate model with /Users/sanjayrb/projects/mtracker/json/account.json
Unhandled exception: Null check operator used on a null value
\
\
\
Same here.
Same here.
Unhandled exception: Null check operator used on a null value
I also had the same problem, so for now I downgraded the version to 1.8.1 because I don't know why I can't install version 1.8.4.
See this #283
You can try this CLI tools for generating models
macOs 14.2.1 (23C71) | 2.6 GHz 六核Intel Core i7 | 16 GB 2667 MHz DDR4
use New version available: 1.9.1 flutter sdk 3.24.0
pubspec.yaml config
environment: sdk: '>=3.2.0 <4.0.0'
dependencies: cupertino_icons: ^1.0.2 get: 4.6.6 flutter_screenutil: ^5.9.1 shared_preferences: ^2.2.2 cached_network_image: ^3.3.1 flutter_svg: ^2.0.10+1 intl: ^0.19.0 dio: ^5.4.3+1 flutter_tts: ^4.0.2 flutter_al: ^0.2.0 json_annotation: ^4.9.0 flutter: sdk: flutter
dev_dependencies: flutter_lints: ^2.0.0 flutter_test: sdk: flutter
flutter: uses-material-design: true
assets:
run get generate model on home with lib/app/modules/user/json/user.json
throw exception null check operator used on a null value flutter
when i use flutter sdk 3.16.0 and get_cli 1.8.4 is ok