close method Null safety

Future<void> close()

Implementation

Future<void> close() async {
  _encoder.finish();
  await _output.close();
}