A new Flutter Exploring Freezed Project.
I am implementing the Freezed Dart Package i.e. Code Generator with Flutter. As, I am getting the data from the API using freezed i.e. Code Generator in the flutter.
- Fork the project and clone through HTTPS or SSH or GitHub CLI
- Open Command Prompt -
git clone https://github.com/devkishor8007/exploring_freezed.git
- Open the Directory of Clone file,
flutter clean
andflutter pub get
in the terminal - You can see the output in your mobile screen
- To Use Freezed Data class
- To Use the User json_serializable in the Data class
Add three Package in the pubspec.yaml
- freezed
- build_runner
- freezed_annotation
flutter pub run build_runner build
flutter pub run build_runner watch --delete-conflicting-outputs