Closed
Description
Objective-C has very convenient literal syntax for arrays and dictionaries, much like Dart does. With those not available in Dart, it looks like the only way to make an array or dictionary right now is either dynamically via adding objects, or with the old-style methods like initWithObjectsAndKeys:
and initWithObjects
, which are clunky and error prone. (And actually, it doesn't look like those specific ones currently work due to #1192.)
It would be very helpful to be able to initialize them from a List
or Map
, the way NSString
has a convenience constructor that takes a String
.
Metadata
Metadata
Assignees
Type
Projects
Status
Done