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