initialize method Null safety

IsolatedWorkerManager initialize(
  1. IsolateMessenger messenger,
  2. Map<Type, dynamic> dependencies,
  3. IsolatedConnector isolatedConnector
)

Implementation

static IsolatedWorkerManager initialize(
  IsolateMessenger messenger,
  Map<Type, dynamic> dependencies,
  IsolatedConnector isolatedConnector
) {
  return IsolatedWorkerManager.instance = IsolatedWorkerManager._(
    messenger,
    dependencies,
    isolatedConnector
  );
}