Created
June 25, 2020 21:24
-
-
Save ctin/777e0f716f93676beb3bec1a32265261 to your computer and use it in GitHub Desktop.
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 Field1 { | |
Field1() { | |
print("Field1()"); | |
} | |
} | |
class Field2 { | |
Field2() { | |
print("Field2()"); | |
} | |
} | |
class Field3 { | |
Field1 f = new Field1(); | |
Field2 f2 = new Field2(); | |
Field3({this.f2}) { | |
print(this.f2); | |
print("Field3()"); | |
} | |
} | |
void main() { | |
Field3 f3 = new Field3(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment