AudioWorkletNode constructor

AudioWorkletNode(
  1. BaseAudioContext context,
  2. String name, [
  3. Map? options
])

Implementation

factory AudioWorkletNode(
  BaseAudioContext context,
  String name, [
  Map? options,
]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    return AudioWorkletNode._create_1(context, name, options_1);
  }
  return AudioWorkletNode._create_2(context, name);
}