dispose method

void dispose()

Releases the certificates of the returned chain.

Implementation

void dispose() {
  for (final cert in chain) {
    cert.dispose();
  }
}