close method

Future<void> close()

Close the message port and free any resources associated with it.

Implementation

Future<void> close() {
  throw UnimplementedError(
      'close is not implemented on the current platform');
}