Freezed, or even more code generation
I have already told you about all the benefits and why you should use code generation tools in your projects. If you haven't seen my article on FlutterGen, I'll leave it for you here.
So I'm not going to give you an introduction to generating code, r...
marcossevilla.dev7 min read
sarfaraz ahmed
Curios
how to achieve something like this using freezed
class Todo { Todo( this.description, { this.completed = false, String? id, }) : id = id ?? _uuid.v4();
final String id; final String description; final bool completed; }