Last active
April 20, 2021 07:52
-
-
Save davidmigloz/90f53d10ee716f8e076f58a32834b7a2 to your computer and use it in GitHub Desktop.
Dart vs Kotlin: dynamic
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() { | |
dynamic dynamicVariable = "A string"; | |
dynamicVariable = 1; | |
} |
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
fun main() { | |
var dynamicVariable: dynamic = "A string" | |
dynamicVariable = 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment