setUpNativeStreamListener method

Future<bool> setUpNativeStreamListener(
  1. String callToken,
  2. CallSettings callSettings,
  3. PresentationSettings presentationSettings,
  4. dynamic onSuccess(
    1. Widget callWidget
    ),
  5. dynamic onError(
    1. CometChatCallsException error
    ),
)

Implementation

Future<bool> setUpNativeStreamListener(
    String callToken,
    CallSettings callSettings,
    PresentationSettings presentationSettings,
    Function(Widget callWidget) onSuccess,
    Function(CometChatCallsException error) onError) {
  throw UnimplementedError('startSession has not been implemented.');
}