ProfileMetrics class

Constructors

ProfileMetrics({Funnel? funnel, ProgressView? launchProgress, int? records, int? revenueCents})
Returns a new ProfileMetrics instance.

Properties

funnel ↔ Funnel?
Funnel is what the org's analytics observed over the trailing window. Read its available first: an org with no analytics reports zeros here, and zero traffic and no measurement are different facts.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
launchProgress ↔ ProgressView?
LaunchProgress is the org's own position in the launch checklist, folded in so a profile carries both what the org has BUILT and what it has DONE.
getter/setter pair
records ↔ int?
Records is how many business records the org holds — the volume that tells a real book of customers from an empty account. It feeds the customers signal, which crosses at a threshold rather than at one row.
getter/setter pair
revenueCents ↔ int?
RevenueCents is the org's money OF RECORD — what its books say, in whole cents, never a float and never a display string. This is the number the scaling stage is decided on; funnel.revenue is the beacon's separate, unreconciled view of the same business. Zero when the org has none, and also zero when the books could not be read, which is why the revenue signal beside it is the thing to trust.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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