trackWebview static method

Future<void> trackWebview(
  1. double? x,
  2. double? y,
  3. double? width,
  4. double? height,
  5. String urlString,
)

Implementation

static Future<void> trackWebview(double? x, double? y, double? width,
    double? height, String urlString) async {
  //print("trackWebview is pressed");
  if (x != null && y != null && width != null && height != null) {
    await _channel
        .invokeMethod('trackWebview', [x, y, width, height, urlString]);
  } else {
    await _channel.invokeMethod('trackWebview', [urlString]);
  }
}