close abstract method

  1. @override
Future<Uint8List> close()
override

Closes the consumer and calculates the signature.

This internally finalizes the consumer and calculates the signature over all the received data. Once done, the signature is returned, or an error thrown, if it failed. The returned future is the same as the on provided via signature.

After having been closed, no more streams can be added to the consumer. See StreamConsumer.close for more details.

Implementation

@override
Future<Uint8List> close();