PlotlineWeb class

Inheritance

Constructors

PlotlineWeb()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPlatformVersion() → Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

currentPageId ↔ String
getter/setter pair
plotlineFunc ↔ JSFunction<Function>?
getter/setter pair

Static Methods

areElementsPresent(JSArray<JSAny?> elementSearchObjects) → JSArray<JSAny?>
debug(bool enableDebug) → void
getBase64Screenshot() → Future<String>
getCurrentPageId() → String
getDevicePixelRatio(BuildContext context) → double
getElementBounds(String id) → JSObject
getScreenHeight(BuildContext context) → double
getScreenshot() → Promise
getScreenWidth(BuildContext context) → double
getVisibleElements() → JSArray<JSAny?>
identify(Map<String, dynamic> attributes) → void
init(String apiKey, String userId, {String endpoint = ''}) → void
loadHtml2Canvas() → Future<void>
logout() → void
refreshWidgets() → void
registerPlotlineWidgetFactory() → void
registerWidgetDimensionCallback(String widgetId, void callback(double width, double height)) → void
registerWith(Registrar registrar) → void
setColor(Map<String, String> colors) → void
setCurrentPageId(String pageName) → void
setLocale(String locale) → void
setPlotlineEventsListener(dynamic callbackFunc(String eventName, Map<String, dynamic> properties)) → void
setPlotlineRedirectListener(dynamic callbackFunc(Map<String, dynamic> properties)) → void
showMockStudy() → void
track(String eventName, {Map<String, dynamic> properties = const {}}) → void
unregisterWidgetDimensionCallback(String widgetId) → void