Retrieves the stored data if the result is a success, or returns null if it is a failure.
the data contained in this result if it is a Success, or null if it is a Failure.