Answers for "how to convert enum value to string in flutter"

0

dart enum from string

Fruit f = Fruit.values.firstWhere((e) => e.toString() == 'Fruit.' + str);
Posted by: Guest on April-08-2021

Code answers related to "how to convert enum value to string in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language