isLastEventValue property

bool get isLastEventValue

Returns true if the last emitted event is a data event (aka. a value event).

Implementation

bool get isLastEventValue => lastEventOrNull?.isData ?? false;