inheritFromAll method

Context inheritFromAll(
  1. Iterable<Inherited> objects
)

Implementation

Context inheritFromAll(Iterable<Inherited> objects) {
  final inherited = HashMap<Type, Inherited>.of(_inherited);
  for (final object in objects) {
    inherited[object.runtimeType] = object;
  }
  return copyWith(inherited: inherited);
}