DimensionRestriction constructor

DimensionRestriction(
  1. int valueInCentimeters,
  2. DimensionRestrictionType type
)

Creates a new instance.

  • valueInCentimeters The maximum allowed dimension.
  • type The type of the dimension restriction.

Implementation

DimensionRestriction(this.valueInCentimeters, this.type);