LiveCall constructor

LiveCall({
  1. required MediaStream? remoteStream,
  2. required void closeCall(),
  3. required List<void Function()> onCallCloses,
  4. required void doDispose({
    1. String? error,
    2. dynamic result,
    }),
  5. required List<OnRemoteUserConnectionChangeListener> onRemoteUserConnectionChangeListeners,
})

Implementation

LiveCall({
  required this.remoteStream,
  required this.closeCall,
  required List<void Function()> onCallCloses,
  required void Function({String? error, dynamic result}) doDispose,
  required List<OnRemoteUserConnectionChangeListener> onRemoteUserConnectionChangeListeners,
}) {
  _doDispose = doDispose;
  _onCallCloses = onCallCloses;
  _onRemoteUserConnectionChangeListeners = onRemoteUserConnectionChangeListeners;
}