valueOrNull property
T?
get
valueOrNull
Get the value if successful, or null if failed
Implementation
T? get valueOrNull => switch (this) {
RxSuccess<T> success => success.value,
RxFailure<T> _ => null,
};