country method

ClientContext country(
  1. StrategyAttributeCountryName countryName
)

Allows to set Country context when using rollout strategy with Country rule. @param countryName name of the country provided as enum from StrategyAttributeCountryName returns ClientContext

Implementation

ClientContext country(StrategyAttributeCountryName countryName) {
  _attributes['country'] = [countryName.name!];
  return this;
}