convert library
Constants
- conversionError → const ConversionErrorException Function(String message, {int? errorCode})
- Surfaces the preserved typed failure helper for callers that drive the bridge directly; re-exported here for import-path compatibility.
Properties
- htmlToMarkdownFfi → HtmlToMarkdownFfiService
-
The service instance backing the top-level convert function: the
datasource path (in-process native bridge). Federated consumers that
register an adapter port get the adapter path transparently — see
HtmlToMarkdownFfiService.
final
- nativeConverterAvailable → bool
-
Whether the native bridge is loadable on this host right now.
no setter
Functions
-
convert(
String html, {ConversionOptions? options, Visitor? visitor}) → ConversionResult -
convertAsync(
String html, {ConversionOptions? options, Visitor? visitor}) → Future< ConversionResult> - Conversion through the stack without an adapter, surfaced asynchronously.