Skip to content

Instantly share code, notes, and snippets.

@abhitheawesomecoder
Created December 22, 2024 14:04
Show Gist options
  • Select an option

  • Save abhitheawesomecoder/62661b66c13e9cbde3f0a40d394290c5 to your computer and use it in GitHub Desktop.

Select an option

Save abhitheawesomecoder/62661b66c13e9cbde3f0a40d394290c5 to your computer and use it in GitHub Desktop.
class Char{
final String? id;
final String? name;
Char(this.name):this.id= DateTime.now().toString();
}
class Area{
String? id;
String? name;
List<Char>? chars;
Area(this.name,this.chars):this.id= DateTime.now().toString();
}
class Inspection {
String? id;
String? name;
List<Area>? areas;
Inspection(this.name,this.areas):this.id= DateTime.now().toString();
}
void main() {
for (var i = 0; i < 10; i++) {
print('hello ${i + 1}');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment