platform method

ClientContext platform(
  1. StrategyAttributePlatformName platform
)

Allows to set Platform context when using rollout strategy with Platform rule. @param platform name of the platform provided as enum from StrategyAttributePlatformName returns ClientContext

Implementation

ClientContext platform(StrategyAttributePlatformName platform) {
  _attributes['platform'] = [platform.name!];
  return this;
}