isPlotlineVisible static method

Future<bool> isPlotlineVisible()

True while a Plotline campaign (modal, bottom sheet, tooltip) is on screen.

Implementation

static Future<bool> isPlotlineVisible() async {
  try {
    final bool visible = await plotlineChannel.invokeMethod('isPlotlineVisible');
    return visible;
  } catch (e) {
    plotlineDebugLog("Error in isPlotlineVisible: $e");
    return false;
  }
}