start method

  1. @override
Future<void> start({
  1. String? userId,
  2. BridgefyPropagationProfile propagationProfile = BridgefyPropagationProfile.standard,
})
override

Implementation

@override
Future<void> start({
  String? userId,
  BridgefyPropagationProfile propagationProfile =
      BridgefyPropagationProfile.standard,
}) async {
  final initialized = await _isInitialize();
  assert(initialized, 'Bridgefy is not initialized');
  return methodChannel.invokeMethod('start', {
    "userId": userId,
    "propagationProfile": propagationProfile.name,
  });
}