throwError function

void throwError(
  1. String message, {
  2. Element? element,
})

Implementation

void throwError(String message, {Element? element}) {
  throw InvalidGenerationSourceError(
    message,
    element: element,
  );
}