inAppGetHtml static method

void inAppGetHtml(
  1. String? url,
  2. dynamic onSuccess(
    1. String html
    )?
)

Get inAppGetHtml

get html

Implementation

static void inAppGetHtml(
    String? url, Function(String html)? onSuccess) async {
  if (url != null) {
    await _indigitall
        .invokeMethod(_ACTION_GET_HTML, url)
        .then((value) => {if (onSuccess != null) onSuccess(value)});
  }
}