How to generate getters and setters in vscode for flutter?
1,904
Solution 1
I am using Dart Getters And Setters extension to Automatically Generate Getters And Setters.
Solution 2
You can make a model class from this site.
Author by
Opshanka Prabath
Updated on December 31, 2022Comments
-
Opshanka Prabath over 1 year
Is there any extension or trick to speed up the development process by adding autogenerate getters and setters methods in VSCODE for FLUTTER?
-
Opshanka Prabath over 2 yearsIs there a way to create just getters and setters. I do not want a build a model for JSON response.
-
Opshanka Prabath over 2 yearsThank you so much this answer will help me a lot.
-
Opshanka Prabath over 2 yearsThis also will help me to generate a model. I am new here to flutter and just identified a good way to build a model according to JSON response. Thank for your reply.