queryId property

String queryId

represents the query id to track Appbase analytics

Implementation

String get queryId {
  // Get query ID from parent(searchbase) if exist
  if (this._parent != null && this._parent.queryId != "") {
    return this._parent.queryId;
  }
  // For single components just return the queryId from the component
  if (this._queryId != "") {
    return this._queryId;
  }
  return '';
}