VehicleRestrictionIconProperties.withCountryCode constructor

VehicleRestrictionIconProperties.withCountryCode(
  1. VehicleRestriction restriction,
  2. CountryCode? countryCode
)

Creates icon properties for specified restriction and country.

  • restriction Vehicle restriction to generate icon for.
  • countryCode Specifies country specific version of the icon. Ignored if there is no country specific version of requested icon.

Implementation

VehicleRestrictionIconProperties.withCountryCode(this.restriction, this.countryCode);