enum_to_string 1.0.12 copy "enum_to_string: ^1.0.12" to clipboard
enum_to_string: ^1.0.12 copied to clipboard

outdated

Better conversion of ENUMs to string. Dart has annoying EnumName.ValueName syntax when calling enum.toString, this package fixes that.

[1.0.12] - 2020-09-24 #

[1.0.11] - 2020-09-14 #

  • Fixing major mistake, renaming new function to convertToString so as not to conflict with system calls

[1.0.10] - 2020-09-14 #

BROKEN BUILD DO NOT USE
  • Added .fromString function (Thanks @amoslai5128)
  • Better error handling (Thanks @lironhl)
  • Improved documentation
  • Deprecated parseCamelCase function in favour of toString(enumItem, camelCase: true)
  • Deprecated parse in favour of toString

[1.0.9] - 2020-02-21 #

  • Added .toList function (Thanks @CodeGrue)

[1.0.8] - 2019-11-03 #

  • Better type handling in fromString method (Thanks @Sergey-Schirmer)

[1.0.7+1] - 2019-10-21 #

  • Improving code robustness (Thanks @ewertonrp)

[1.0.7] - 2019-05-30 #

  • Improving examples

[1.0.6] - 2019-05-30 #

  • Added support for getting an enum from a string

[1.0.5] - 2019-05-29 #

  • Better readme formatting

[1.0.4] - 2019-05-29 #

  • Better handling of null types

[1.0.3] - 2019-05-26 #

  • Adding explicit types

[1.0.2] - 2019-05-24 #

  • Improving my dart score

[1.0.1] - 2019-05-24 #

  • Initial library release
325
likes
0
pub points
98%
popularity

Publisher

unverified uploader

Better conversion of ENUMs to string. Dart has annoying EnumName.ValueName syntax when calling enum.toString, this package fixes that.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on enum_to_string