asString method

String asString(
  1. String experimentName
)

Implementation

String asString(String experimentName) {
  switch (this) {
    case PerceptExperiment.activeExperiments:
      return "pi_active_experiments";
    case PerceptExperiment.experimentVariant:
      return "pi_exp_${experimentName}_var";
  }
}