ManagedContext.childOf constructor Null safety

ManagedContext.childOf(
  1. ManagedContext parentContext
)

Creates a child context from parentContext.

Implementation

ManagedContext.childOf(ManagedContext parentContext)
    : persistentStore = parentContext.persistentStore,
      dataModel = parentContext.dataModel;