正在加载视频...

视频加载失败

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

22,818 次观看 • 2 年前 •via X (Twitter)

10 条评论

Seth Ladd 的头像
Seth Ladd2 年前

Glad you're having fun!

Rody Davis 的头像
Rody Davis2 年前

Seriously incredible 🤯

Mauro Casse 的头像
Mauro Casse2 年前

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

Pawan Kumar 的头像
Pawan Kumar2 年前

Awesoms 👌

Fernando Santos 的头像
Fernando Santos2 年前

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

Felix Angelov 🐦💙 的头像
Felix Angelov 🐦💙2 年前

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

nathan builds an app 的头像
nathan builds an app2 年前

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

Rishab Jaiswal 的头像
Rishab Jaiswal2 年前

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

Honza Bittner 的头像
Honza Bittner2 年前

Why not struct_macro tho? :)

Felix Angelov 🐦💙 的头像
Felix Angelov 🐦💙2 年前

Renamed to data_class_macro to avoid any confusion 🙂

相关视频