cleanup method Null safety

  1. @override
void cleanup()
override

Cleanup and completers or locks used during the communication.

Implementation

@override
void cleanup() {
  // no-op.
  // Add any IO platform specific Completer/Future cleanups to here if any
  // comes up in the future. For example: `WebCallbackManager.cleanup`.
}