DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR DART
dart list generate
new List<int>.generate(3, (int index) => index * index); // [0, 1, 4]
Source by api.dart.dev #
PREVIOUS
NEXT
Tagged:
#dart
#list
#generate
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit