EnumWithValue constructor
const
EnumWithValue(
- String? value
The value will be used when toJson or toString will be called. It will also be used to check if two EnumWithValue are equal.
Implementation
const EnumWithValue(this.value);