records in dart

57 views
Skip to first unread message

Madhan Kumar

unread,
Sep 24, 2023, 10:09:07 AM9/24/23
to Dart Misc
How to use records in dart with async functions?

Lasse Reichstein Holst Nielsen

unread,
Sep 25, 2023, 6:25:01 AM9/25/23
to Dart Misc, Madhan Kumar
You use records just like any other value.
Records are just values, their types are just types. Both have their own new syntaxes, but that's no different from function values and types having their own syntax. You still use them whereever you would otherwise have used another value or type.

Is there some particular problem you are having problems solving?
Reply all
Reply to author
Forward
0 new messages