IsolateConnectionFactory<Database extends CommonDatabase> constructor

IsolateConnectionFactory<Database extends CommonDatabase>({
  1. required dynamic openFactory,
  2. required dynamic mutex,
  3. required SerializedPortClient upstreamPort,
})

Implementation

factory IsolateConnectionFactory(
    {required openFactory,
    required mutex,
    required SerializedPortClient upstreamPort}) {
  return IsolateConnectionFactoryImpl(
      openFactory: openFactory,
      mutex: mutex,
      upstreamPort: upstreamPort) as IsolateConnectionFactory<Database>;
}