Enum value from JSON factory constructor.
factory EnumValue.fromJson(Map<String, dynamic> json) => _$EnumValueFromJson(json);