sharedBridgedModuleEnvironments property

Map<String, Environment>? sharedBridgedModuleEnvironments
final

Optional process-global cache of bridged-module environments keyed by module URI, shared across every execution that has the same allowed-set signature (PERF step #2). When supplied, _tryLoadBridgedModule reuses an already-built module env instead of re-registering the ~982-class flutter bridge surface on every run. null for legacy (empty allowed-set) instances, which keep the per-loader _bridgedModuleEnvironments cache.

Implementation

final Map<String, Environment>? sharedBridgedModuleEnvironments;