Analysis class

Constructors

Analysis({num? alpha, String? experiment, int? exposedTotal, String? metric, List<Outcome> results = const [], String? winner})
Returns a new Analysis instance.

Properties

alpha ↔ num?
the two-tailed threshold significance was judged at
getter/setter pair
experiment ↔ String?
the experiment that was analysed
getter/setter pair
exposedTotal ↔ int?
subjects enrolled across every arm
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
metric ↔ String?
the event a conversion is counted from
getter/setter pair
results ↔ List<Outcome>
one row per declared arm, control first
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
winner ↔ String?
ADVISORY: the significant, control-beating arm with the highest rate, else empty
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) → Analysis?
Returns a new Analysis instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Analysis>
mapFromJson(dynamic json) → Map<String, Analysis>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Analysis>>

Constants

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