destroy method

Future destroy()

@deprecated, use close instead

Implementation

Future destroy() async {
  await close();
}