sendCreateNewInstancePair method
Future<void>
sendCreateNewInstancePair(
- String channelName,
- PairedInstance remoteReference,
- List<
Object?> arguments, { - required bool owner,
override
Instantiate a new object instance for type channel of channelName
.
Implementation
@override
Future<void> sendCreateNewInstancePair(
String channelName,
PairedInstance remoteReference,
List<Object?> arguments, {
required bool owner,
}) {
return channel.invokeMethod<void>(
MethodChannelMessenger._methodCreate,
<Object>[channelName, remoteReference, arguments, owner],
);
}