Created with <3 with dartpad.dev.
Created
July 18, 2022 00:36
-
-
Save matanlurey/2f93815fe7924fe017ac5f924c18aa6a to your computer and use it in GitHub Desktop.
rustic-utopia-8178
This file contains 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
void main() { | |
late final a = Animal(); | |
print('Meow'); | |
print(a.sound); | |
} | |
class Animal { | |
Animal() { | |
print('CREATED: Animal'); | |
} | |
String get sound => 'Woof'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment