buildArguments method

DartWebPluginBaseChannelMessageArguments buildArguments(
  1. ReadBarcodeProps readBarcodeProps,
  2. 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;
}