remove<T> method

T? remove<T>(
  1. dynamic key
)

Removes the observable

Implementation

T? remove<T>(dynamic key) {
  final removed = _container.remove(key);
  if (removed != null) {
    return removed;
  }
  return parent?.remove(key);
}