throwError function

void throwError(
  1. String message, {
  2. Element? element,
  3. String todo = '',
})

Implementation

void throwError(String message, {Element? element, String todo = ''}) {
  throw InvalidGeneratorInputException(
    message,
    todo: todo,
    element: element,
  );
}