Created with <3 with dartpad.dev.
Created
October 3, 2023 06:56
-
-
Save ColinOrr/d4dfb56230996ced9a2bde1be8f824f7 to your computer and use it in GitHub Desktop.
dart-string-interpolation
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
class Person { | |
String name; | |
Person({required this.name}); | |
} | |
void main() { | |
final person = Person(name: 'Colin'); | |
print('Hello ${person.name}'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment