W3cubDocs

/Dart 2

GainNode constructor

GainNode(BaseAudioContext context, [ Map options ])

Implementation

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

© 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/GainNode/GainNode.html