throwBoxed function
Throws a formatted error message with box styling.
Implementation
void throwBoxed(String message) {
final pre = 'Injectable Generator ';
throw ("\n${pre.padRight(72, '-')}\n$message\n${''.padRight(72, '-')} \n");
}
Throws a formatted error message with box styling.
void throwBoxed(String message) {
final pre = 'Injectable Generator ';
throw ("\n${pre.padRight(72, '-')}\n$message\n${''.padRight(72, '-')} \n");
}