Ephenodrom / Dart-Basic-Utils

A dart package for many helper methods fitting common situations
MIT License
368 stars 79 forks source link

A small code refactor in EnumUtils.dart #60

Closed RicardoRB closed 2 years ago

RicardoRB commented 2 years ago

I just changed "element.toString().split('.').last" to ".name". It makes the code clear and easy to read.

Sorry for a new pull request. It would work in the latest version anyway.