VoltronBridgeManager constructor

VoltronBridgeManager(
  1. EngineContext context,
  2. VoltronBundleLoader? coreBundleLoader,
  3. int groupId,
  4. int id, {
  5. VoltronThirdPartyAdapter? thirdPartyAdapter,
  6. int bridgeType = kBridgeTypeNormal,
  7. bool isDevModule = false,
  8. String debugServerHost = '',
})

Implementation

VoltronBridgeManager(
  EngineContext context,
  VoltronBundleLoader? coreBundleLoader,
  int groupId,
  int id, {
  VoltronThirdPartyAdapter? thirdPartyAdapter,
  int bridgeType = kBridgeTypeNormal,
  bool isDevModule = false,
  String debugServerHost = '',
})  : _context = context,
      _coreBundleLoader = coreBundleLoader,
      _groupId = groupId,
      _engineId = id,
      _isDevModule = isDevModule,
      _debugServerHost = debugServerHost,
      _thirdPartyAdapter = thirdPartyAdapter,
      _isSingleThread = bridgeType == kBridgeTypeSingleThread {
  initCodeCacheDir();
}