CalloopNativeCalls constructor

CalloopNativeCalls(
  1. CalloopAgent agent, {
  2. NativeCallUi? ui,
  3. NativeCallStyle style = const NativeCallStyle(),
  4. NativeRingPolicy ringPolicy = NativeRingPolicy.whenInBackground,
  5. bool appInForeground()?,
  6. Duration pendingFor = const Duration(seconds: 45),
})

Implementation

CalloopNativeCalls(
  this.agent, {
  NativeCallUi? ui,
  this.style = const NativeCallStyle(),
  this.ringPolicy = NativeRingPolicy.whenInBackground,
  this.appInForeground,
  this.pendingFor = const Duration(seconds: 45),
}) : ui = ui ?? CallkitNativeUi();