lastOrNull
The terminal operator that returns the last element emitted by the flow or null
if the flow was empty.
Sources
common source
Link copied to clipboard
The terminal operator that returns the last element emitted by the flow or null
if the flow was empty.