getOrNull method

T? getOrNull()

Implementation

T? getOrNull() => isSuccess ? (this as Success<T>).data : null;