Loading video...

Video Failed to Load

Go Home

Having way too much fun with macros 🎯🚀 ✅ const constructors with required, name parameters ✅ human-readable toString ✅ copyWith ✅ value equality comparisons

22,818 views • 2 years ago •via X (Twitter)

10 Comments

Seth Ladd's profile picture
Seth Ladd2 years ago

Glad you're having fun!

Rody Davis's profile picture
Rody Davis2 years ago

Seriously incredible 🤯

Mauro Casse's profile picture
Mauro Casse2 years ago

For someone like me who doesn't like code generation, THIS IS DEFINITELY IS Thanks Felix for this awesome showcase

Pawan Kumar's profile picture
Pawan Kumar2 years ago

Awesoms 👌

Fernando Santos's profile picture
Fernando Santos2 years ago

What happens if you do .copy with(something: null)? Will something be null or will it remain unchanged?

Felix Angelov 🐦💙's profile picture
Felix Angelov 🐦💙2 years ago

It'll remain unchanged but I'm working on improving that

nathan builds an app's profile picture
nathan builds an app2 years ago

can't wait to use your package once macros are fully supported

Rishab Jaiswal's profile picture
Rishab Jaiswal2 years ago

Would love to contribute. Please let me know how to get started!

Honza Bittner's profile picture
Honza Bittner2 years ago

Why not struct_macro tho? :)

Felix Angelov 🐦💙's profile picture
Felix Angelov 🐦💙2 years ago

Renamed to data_class_macro to avoid any confusion 🙂

Related Videos