getOrNull

@Nullable
abstract fun getOrNull(): T(source)

Returns the value of this provider if it has a value present. Returns null a value is not available.

Return

the value or null