Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class User {
- final String name;
- final List<String> cars;
- User(this.name, {this.cars});
- }
- main() {
- for (var i = 0; i < 100; i++) {
- const users = const {
- 'Matan': const User(
- 'Matan Lurey',
- cars: const [
- 'Truck',
- 'Jeep',
- 'GoKart',
- ],
- ),
- };
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement