dynamic findDescendantOfExactType(Type? T, {String? id}) { var list = findDescendantsOfExactType(T, id: id); return list.isNotEmpty ? list.first : null; }