Model Code Generator for Flutter
Model Code Generator is a simple command for make a model in flutter. it's very easy to use.
What It does?
xCreate a model file based on your json.xInclude fromJson and toJson function.xNo internet connection needed.
How to Use?
Add Model Code Generator to your pubspec.yaml in dev_dependencies: section.
dev_dependencies:
model_code_generator: ^1.0.0
Update dependencies
flutter pub get
Run this command to change the package name.
flutter pub run model_code_generator <yourclassname>
Example:
flutter pub run model_code_generator user
Where <yourclassname> is the class and file name that you want for your model. replace it with any name you want.
Contact
- Email : dyakuza893@gmail.com
- LinkedIn : Doni Nugroho