Enum constructor

const Enum({
  1. required String name,
  2. required Iterable<String> values,
})

Implementation

const Enum({
  required this.name,
  required this.values,
});