ConstantSourceNode constructor

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

Implementation

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