VehicleRestrictionIconProperties class

Encapsulates properties for generating vehicle restriction icons using IconProvider.

Constructors

VehicleRestrictionIconProperties(VehicleRestriction restriction)
Creates icon properties for specified restriction.
VehicleRestrictionIconProperties.withCountryCode(VehicleRestriction restriction, CountryCode? countryCode)
Creates icon properties for specified restriction and country.

Properties

countryCode ↔ CountryCode?
Specifies country specific version of the icon. Ignored if there is no country specific version of requested icon.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
restriction ↔ VehicleRestriction
Vehicle restriction to generate icon for.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited