open fun getOrNull(): T
Returns a Success
value or in case of Failure
a null. This method was added to introduce a level of compatibility with APIs that expect `null` values. If it's not needed please use Try#getOrElse(Object)
instead. Avoid introducing `null` in your code.