Holds a value and an optional default value of type T.
the primary value
the default value, if any
Retrieves a value using valueProvider from the primary value, or from the default if the primary value is null.
null