Returns an enum member corresponding to this class instance's value, or [Value._UNKNOWN] if the class was instantiated with an unknown value.
public Value value()Returns an enum member corresponding to this class instance's value, or [Value._UNKNOWN] if the class was instantiated with an unknown value. Use the [known] method instead if you're certain the value is always known or if you want to throw for the unknown case.