flush method

  1. @override
Future flush()
override

Returns a Future that completes once all buffered data is accepted by the underlying StreamConsumer.

This method must not be called while an addStream is incomplete.

NOTE: This is not necessarily the same as the data being flushed by the operating system.

Implementation

@override
_i4.Future<dynamic> flush() => (super.noSuchMethod(
      Invocation.method(
        #flush,
        [],
      ),
      returnValue: _i4.Future<dynamic>.value(),
    ) as _i4.Future<dynamic>);