buildArguments method
DartWebPluginBaseChannelMessageArguments
buildArguments(
- ReadBarcodeProps readBarcodeProps,
- BarcodeReaderWebassemblyEvent method
Implementation
DartWebPluginBaseChannelMessageArguments buildArguments(
ReadBarcodeProps readBarcodeProps, BarcodeReaderWebassemblyEvent method) {
final arguments = DartWebPluginBaseChannelMessageArguments();
arguments.methodTarget = method.name;
arguments.file = readBarcodeProps.file;
arguments.arguments = buildBarcodeReaderWebassemblyJs(readBarcodeProps);
return arguments;
}