HTML method
Implementation
Future HTML(String htmlString) async {
if(htmlString!=''){
res?.statusCode = HttpStatus.ok;
res?.headers.contentType = ContentType.html;
res?.write(htmlString);
await res?.close();
}else{
throw CustomException('[ Error ] String is empty').showError();
}
}