last property

  1. @override
Future<Uint8List> last
override

The last element of this stream.

If this stream emits an error event, the returned future is completed with that error and processing stops.

If this stream is empty (the done event is the first event), the returned future completes with an error.

Implementation

@override
Future<Uint8List> get last => _stream.stream.last;