I think it may be useful to provide one more example of destructuring record with named fields as it's not present on this page. Got inspiration from this issue https://github.com/dart-lang/site-www/issues/5262
[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.
[x] This PR doesn't contain automatically generated corrections or text (Grammarly, LLMs, and similar).
Contribution guidelines:
- See our [contributor guide](https://github.com/dart-lang/site-www/blob/main/CONTRIBUTING.md) for general expectations for PRs.
- Larger or significant changes should be discussed in an issue before creating a PR.
- Code changes should generally follow the [Dart style guide](https://dart.dev/effective-dart) and use `dart format`.
- Updates to [code excerpts](https://github.com/dart-lang/site-shared/blob/main/doc/code-excerpts.md) indicated by `
I think it may be useful to provide one more example of destructuring record with named fields as it's not present on this page. Got inspiration from this issue https://github.com/dart-lang/site-www/issues/5262
Contribution guidelines:
- See our [contributor guide](https://github.com/dart-lang/site-www/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Code changes should generally follow the [Dart style guide](https://dart.dev/effective-dart) and use `dart format`. - Updates to [code excerpts](https://github.com/dart-lang/site-shared/blob/main/doc/code-excerpts.md) indicated by `