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 WithConstConstructor { | |
final x; | |
const WithConstConstructor(this.x); | |
} | |
void main() { | |
// Generates new instance at runtime because there is no "const" | |
final a1 = WithConstConstructor(0); | |
final a2 = WithConstConstructor(0); |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |