close abstract method

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

Closes the consumer and verifies the signature.

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

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

Implementation

@override
Future<bool> close();