getNode method

Node? getNode(
  1. Type type, {
  2. Object? tag,
})

Implementation

Node? getNode(Type type, {Object? tag}) => nodes
    .where((i) => i.runtimeType == type)
    .where((i) => identical(tag, i.$tag))
    .firstOrNull;