present
Returns a PresentProvider that is always present, providing the given value.
Unlike provider, the value is not computed on demand: querying the returned provider simply returns the given value. Prefer this method over provider when the value is already known.
Return
The provider. Never returns null.
Since
9.9.0
Parameters
value
The value of the provider. Cannot be null.
<T>
the type of the value of the provider