getInstance static method

Analytics getInstance(
  1. AnalyticsJsImpl jsObject
)

Creates a new Analytics instance from a jsObject.

Implementation

static Analytics getInstance(analytics_interop.AnalyticsJsImpl jsObject) {
  return _expando[jsObject] ??= Analytics._fromJsObject(jsObject);
}