valueOrNull property

  1. @override
T get valueOrNull
override

A getter that returns the value if the operation was successful, or null if it wasn't.

Implementation

@override
T get valueOrNull => _value;