inherit method

void inherit(
  1. Context<T, K> other
)

Inherits values from other Context and sets parent value to other

Implementation

void inherit(Context<T, K> other) {
  parent = other;
  _storage.addAll(other._storage);
}