ProfileResponse class

Constructors

ProfileResponse({ProfileMetrics? keyMetrics, Map<String, bool> signals = const {}, String? stage})
Returns a new ProfileResponse instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
keyMetrics ↔ ProfileMetrics?
KeyMetrics are the org's OWN numbers behind those signals — never another org's, and never a platform aggregate.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signals ↔ Map<String, bool>
Signals is what was observed of the org right now, one boolean per probe. A probe that could not be run reports FALSE, not absent — the shape is stable so a caller never has to tell a missing key from a negative answer, and the cost is that "not observed" and "not there" look alike here. Keys are the probe names, including the module:<name> and connected:<provider> families.
getter/setter pair
stage ↔ String?
Stage is how far the business itself has got — formed, launched, activated or scaling — decided purely from the signals below, and by what the org has ACHIEVED rather than what it has configured. It reads the STRONGEST evidence present, so money of record makes an org scaling even if an earlier rung's signal was never observed. It is unrelated to checklist progress.
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) → ProfileResponse?
Returns a new ProfileResponse instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProfileResponse>
mapFromJson(dynamic json) → Map<String, ProfileResponse>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProfileResponse>>

Constants

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