Skip to content

Instantly share code, notes, and snippets.

@MelbourneDeveloper
Created July 19, 2023 10:05
Show Gist options
  • Save MelbourneDeveloper/2affe8e21d51959218882bb2b5c6c4f1 to your computer and use it in GitHub Desktop.
Save MelbourneDeveloper/2affe8e21d51959218882bb2b5c6c4f1 to your computer and use it in GitHub Desktop.
Number and String Records
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