ResourceController constructor Null safety

ResourceController()

Implementation

ResourceController() {
  _runtime =
      (RuntimeContext.current.runtimes[runtimeType] as ControllerRuntime?)
          ?.resourceController;
}