getAnalyticsInstance function
Given an AppJSImp, return the Analytics instance.
Implementation
Analytics getAnalyticsInstance([
App? app,
Map<String, dynamic>? options = const {},
]) {
return Analytics.getInstance(
app != null
? analytics_interop.initializeAnalytics(
app.jsObject,
options?.jsify() ?? {}.jsify(),
)
: analytics_interop.getAnalytics(),
);
}