getHtml method
Get HTML content
Implementation
Future<String> getHtml() async {
if (_webViewController != null) {
final result = await _webViewController!.runJavaScriptReturningResult(
'getContent()',
);
return result.toString().replaceAll('"', '');
}
return '';
}