throwError function
Throws an InvalidGenerationSourceError with the given message and element.
Implementation
void throwError(String message, {Element? element}) {
throw InvalidGenerationSourceError(message, element: element);
}
Throws an InvalidGenerationSourceError with the given message and element.
void throwError(String message, {Element? element}) {
throw InvalidGenerationSourceError(message, element: element);
}