W3cubDocs

/Dart 2

AudioWorkletNode constructor

AudioWorkletNode(BaseAudioContext context, String name, [ 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);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-web_audio/AudioWorkletNode/AudioWorkletNode.html