Source3D constructor Null safety

Source3D(
  1. Context context,
  2. {double x = 0.0,
  3. double y = 0.0,
  4. double z = 0.0,
  5. PannerStrategy pannerStrategy = PannerStrategy.delegate}
)

Create a 3d source.

Implementation

Source3D(Context context,
    {double x = 0.0,
    double y = 0.0,
    double z = 0.0,
    PannerStrategy pannerStrategy = PannerStrategy.delegate})
    : super(context) {
  synthizer.check(synthizer.synthizer.syz_createSource3D(
      handle,
      context.handle.value,
      pannerStrategy.toInt(),
      x,
      y,
      z,
      nullptr,
      nullptr,
      synthizer.userdataFreeCallbackPointer));
}