findNodeOrNull<N extends NodeInterface> method

  1. @protected
N? findNodeOrNull<N extends NodeInterface>({
  1. Key? key,
})

Implementation

@protected
N? findNodeOrNull<N extends NodeInterface>({Key? key}) {
  if (!_initialized) return null;
  return _scope.findByTypeOrNull<N>(key: key);
}