valueOrNull property

  1. @override
T? get valueOrNull
override

May be null if no value has been emitted yet, or if last emitted value is an error

Implementation

@override
T? get valueOrNull => _latestSnapshot.value;