weight property

double? weight
getter/setter pair

The weight corresponding to this WrrPolicyItem object.

When multiple WrrPolicyItem objects are configured, the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.

Implementation

core.double? weight;