I’ve been using the new pattern matching from Dart 3 a lot since the release, and I want to share how much better the experience of writing Dart became for me. I completely replaced Freezed with Dart sealed classes, and they’re joyful to use too!

I love Dart!

  • Problematic Consumer@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I have the same question. Using Dart native solutions and reducing code gen is definitely preferred but freezed isn’t easy to replace

    • fperson@lemmy.worldOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Replied above for a better comment hierarchy. Feel free to comment there if you have any questions/thoughts!