EnumFromValue

constructor(default: E)(source)

Parameters

InternalValue

The internal value representation of the enum.

E

The enum.

default

The default value to be used for fromValue.