Flutter – How to dynamic access the enum
I have an enum and I want to access to it dynamically. I'm not sure if it's possible or not. enum EventType { earthquake, flood, fire } var event = "fire"; var mytype = EventType.event You see, what I'm trying…