ofNotNull

inline fun <T> ofNotNull(crossinline block: (KClass<*>) -> T?): AutofillProvider<T>

Creates AutofillProvider that returns result of block as Value.Provided if it is not null. Otherwise, returns Value.Absent.