i tried to use an Switch Statement in dart with Users Input via the stdin.readlinesync(). But if i want to use switch statement i get the error that the switch cases have to be const. Is there any way to use Users Input for switch statements? Thanks
i tried to use an Switch Statement in dart with Users Input via the stdin.readlinesync(). But if i want to use switch statement i get the error that the switch cases have to be const. Is there any way to use Users Input for switch statements? Thanks