Created
July 19, 2023 10:05
-
-
Save MelbourneDeveloper/2affe8e21d51959218882bb2b5c6c4f1 to your computer and use it in GitHub Desktop.
Number and String Records
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final records = <({String name, int value})>[ | |
(name: 'test1', value: 1), | |
(name: 'test2', value: 12), | |
]; | |
void main(List<String> arguments) { | |
print(records.first.name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment