GainNode constructor

GainNode(
  1. BaseAudioContext context, [
  2. GainOptions? options
])

Implementation

factory GainNode(BaseAudioContext context, [GainOptions? options]) =>
    GainNode._(context, options ?? undefined);