sendDisposeInstancePair method

  1. @override
Future<void> sendDisposeInstancePair(
  1. PairedInstance pairedInstance
)
override

Communicate to another TypeChannelMessenger to dispose the instance pair containing pairedInstance.

Implementation

@override
Future<void> sendDisposeInstancePair(PairedInstance pairedInstance) {
  return channel.invokeMethod<void>(
    MethodChannelMessenger._methodDispose,
    <Object>[pairedInstance],
  );
}