SynthizerObject constructor Null safety

SynthizerObject(
  1. Synthizer synthizer,
  2. {int? pointer}
)

Create an instance.

Implementation

SynthizerObject(this.synthizer, {final int? pointer})
    : handle = calloc<syz_Handle>() {
  if (pointer != null) {
    handle.value = pointer;
  }
}