loadHTML method

Future<Null> loadHTML(
  1. String html, {
  2. String? baseUrl,
})

Implementation

Future<Null> loadHTML(String html, {String? baseUrl}) async {
  final args = <String, dynamic> {
    'html': html,
  };

  if (baseUrl != null)
    args['baseUrl'] = baseUrl;

  await _channel.invokeMethod('loadHTML', args);
}