dart-lang / dart-lang/language

pls add syntactic sugars of List and Map

Open
#555 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
TeX
Stars
2.9k
Forks
239
Avg merge
2d 18h
Merged PRs (30d)
14

Description

1. add property or getter of selected to List;

2. list?.asMap()?.keys?.map(...) =>list?.asMap().keys.map(...);
when ?. get null , cade after should stop ;

3. {...map} , map should can be null like javascript?

Contributor guide

Open the contributing guide

Research direction

The issue names three proposed Dart syntax changes for List, Map, null-aware access, and spread syntax, but no files, tests, or entry points. Start by reviewing the language specification and design process for these constructs. Done would require an agreed design and corresponding specification changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.