SchemaEnum constructor

const SchemaEnum({
  1. required String name,
  2. required List<String> values,
})

Create a new schema enum.

Implementation

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