GainNode constructor

GainNode(
  1. BaseAudioContext context, [
  2. 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);
}