enum_converter 1.0.0
enum_converter: ^1.0.0 copied to clipboard

IP5 demo package. Simple converter of dart enum values to strings. Example - input Test.VAL1 output 'VAL1'

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add enum_converter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  enum_converter: ^1.0.0

Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:enum_converter/enum_converter.dart';
2
likes
100
pub points
0%
popularity

IP5 demo package. Simple converter of dart enum values to strings. Example - input Test.VAL1 output 'VAL1'

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on enum_converter