destroy method

void destroy()

Implementation

void destroy() async {
  await _sink!.flush();
  await _sink!.close();
}