OscillatorNode constructor

OscillatorNode(
  1. BaseAudioContext context,
  2. [Map? options]
)

Implementation

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-web_audio/OscillatorNode/OscillatorNode.html