CreateBody class
Properties
exposureEvent
↔ String ?
ExposureEvent is the event that marks a subject as enrolled — the analysis denominator — defaulting to the SDK's $feature_flag_called marker.
getter/setter pair
flagKey
↔ String ?
FlagKey names the assignment flag this experiment writes, defaulting to exp_
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
id
↔ String
ID is the experiment's slug, claimed once per project. It must match A-Za-z0-9._-{0,127}.
getter/setter pair
metricEvent
↔ String
MetricEvent is the event that counts as a conversion — the analysis numerator.
getter/setter pair
name
↔ String ?
Name is free text for a reader; the id is what addresses the experiment.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
subjectKind
↔ String ?
SubjectKind is the unit assigned and measured: user (the default), org, session or audience.
getter/setter pair
variants
↔ List <Arm >
Arms are the arms, at least two. Weights that are all zero become an even split; otherwise they must sum to 100, and at most one arm may be flagged control.
getter/setter pair