merge method

Context<R> merge(
  1. Context other
)

Combines this context with another context Services from other will override services of the same type in this context

Implementation

Context<R> merge(Context<dynamic> other) {
  final newServices = Map<Type, Object>.from(_services);
  newServices.addAll(other._services);
  return Context._(newServices);
}