BreakdownRow class

Constructors

BreakdownRow({String? key, int? pageviews, num? pct, int? visitors})
Returns a new BreakdownRow instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
key ↔ String?
Key is the bucket: a requested path, a referrer domain ("(direct)" for none or a same-origin one), or a utm_source ("(none)" when absent).
getter/setter pair
pageviews ↔ int?
Pageviews is how many $pageview events fell in this bucket.
getter/setter pair
pct ↔ num?
Pct is this bucket's share of ALL in-window pageviews, 0..100, one decimal — not of the returned rows, so a top-N shows the long tail honestly.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visitors ↔ int?
Visitors is how many distinct people they came from.
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) → BreakdownRow?
Returns a new BreakdownRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BreakdownRow>
mapFromJson(dynamic json) → Map<String, BreakdownRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BreakdownRow>>

Constants

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