AudioBufferSourceNode constructor Null safety

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

Implementation

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