getOrNull method

Success? getOrNull()

Returns the encapsulated value if this instance represents success or null if it is failure. */

Implementation

Success? getOrNull() => success;