Present Provider
A Provider that is always present, that is, one that always has a value.
Querying the value of this provider never fails: get always returns the value, getOrNull never returns null and isPresent always returns true. Only the presence of the value is guaranteed; the value itself is not necessarily constant.
Note: This interface is not intended for implementation by build script or plugin authors. A provider that is always present can be created via present.
Since
9.9.0
Parameters
<T>
Type of value represented by the provider