Top class

Constructors

Top({String? end, TopModels? models, TopProducts? products, String? range, Scope? scope, String? start, Breakdown? topPages, Breakdown? topReferrers, Breakdown? topSources})
Returns a new Top instance.

Properties

end ↔ String?
End is the window's exclusive upper bound, RFC3339 UTC.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
models ↔ TopModels?
Models ranks the window's LLM models by spend — real per-org data.
getter/setter pair
products ↔ TopProducts?
Products ranks the window's products by revenue.
getter/setter pair
range ↔ String?
Range is the window that was actually applied: 24h, 7d, 30d or custom.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope ↔ Scope?
Scope names the tenant these rankings belong to.
getter/setter pair
start ↔ String?
Start is the window's inclusive lower bound, RFC3339 UTC.
getter/setter pair
topPages ↔ Breakdown?
Pages ranks the paths visitors requested, by pageviews.
getter/setter pair
topReferrers ↔ Breakdown?
Referrers ranks the external domains visitors arrived from, by pageviews.
getter/setter pair
topSources ↔ Breakdown?
Sources ranks the utm_source campaigns visitors arrived on, by pageviews.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) → Top?
Returns a new Top instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Top>
mapFromJson(dynamic json) → Map<String, Top>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Top>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.