htmlToPdf method

Future<ApiResponse> htmlToPdf(
  1. File file, {
  2. ConversionOptions? options,
})

Convert HTML to PDF

file HTML file to convert options Conversion options

Implementation

Future<ApiResponse> htmlToPdf(File file, {ConversionOptions? options}) {
  return convertToPdf(file, ConversionFormat.html, options: options);
}