getByRuntimeType method

Node? getByRuntimeType(
  1. Type type
)

Checks if a node with this exact runtimeType already exists.

Implementation

Node? getByRuntimeType(Type type) => _nodes[Key(type.toString())];