Here’s a nice simple article explaining enhanced enums that have been around for a while but may be something overlooked. Between these and sealed classes I think Dart has an excellent story for pattern matching.

  • samus7070OP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Maybe the code generator? I have no idea. It seems like there shouldn’t be an issue.