void throwIf(bool condition, String message, {Element2? element, String todo = ''}) { if (condition) { throwError(message, todo: todo, element: element); } }