EnumWithValue constructor
- 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);
The value will be used when toJson or toString will be called. It will also be used to check if two EnumWithValue are equal.
const EnumWithValue(this.value);