sendInternalError method
Implementation
Future<void> sendInternalError() async {
res?.statusCode = HttpStatus.internalServerError;
res?.write('Internal Error');
await res?.close();
}
Future<void> sendInternalError() async {
res?.statusCode = HttpStatus.internalServerError;
res?.write('Internal Error');
await res?.close();
}