destroy method

  1. @override
Future<void> destroy()

Implementation

@override
Future<void> destroy() async {
  await _sink?.flush();
  await _sink?.close();
}