Auto Generate Dart Model Class with JsonSerializable, copyWith and toString() method.
- add dependency on pubspec.yaml
model_gen_kit: ^0.1.2
- On IntelliJ(or Android Studio), Install Plugin "Dart Model Generate Kit" (Install Link)
- Create empty dart file and write "gm" and press enter. (not need for enum creation)
- Write your model class name and arguments.
- Press "option(alt) + m" to generate model class.