I'm trying to set a variable as a String of being a few specific options. I'm writing or converting it from TypeScript and am trying to reproduce this:
let myVar: 'a' | 'b' | 'c';
String myVar;
... is as far as I can get.
How can I write this in Dart, please?