VehicleRestrictionIconProperties.withCountryCode constructor
- VehicleRestriction restriction,
- CountryCode? countryCode
Creates icon properties for specified restriction and country.
restrictionVehicle restriction to generate icon for.countryCodeSpecifies country specific version of the icon. Ignored if there is no country specific version of requested icon.
Implementation
VehicleRestrictionIconProperties.withCountryCode(this.restriction, this.countryCode);