I work on a flutter project, and i wonder if there is a way to do as following in typescript but in dart:
class Foo {myVar: string | number} //in typescript <