CalloopNativeCalls constructor
CalloopNativeCalls(
- CalloopAgent agent, {
- NativeCallUi? ui,
- NativeCallStyle style = const NativeCallStyle(),
- NativeRingPolicy ringPolicy = NativeRingPolicy.whenInBackground,
- bool appInForeground()?,
- 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();