be of two data types at the same time?
I mean, in Typescript if you are familiar, we can do something like
type StringOrNumber = string | number;
var x: StringOrNumber = “Alpha”
x = 10;
Can I do the similar in Dart anyway? I guess no tho..
U tried dynamic?
No i don’t want dynamic that’s scary..
Обсуждают сегодня