merge method

LayerContext merge(
  1. LayerContext other
)

Implementation

LayerContext merge(LayerContext other) => LayerContext.populated(
      HashMap.from(_services)..addAll(other._services),
      HashMap.from(_cache)..addAll(other._cache),
      HashSet.from(_lazy)..addAll(other._lazy),
    );