LaneAccess class

A class which identifies the vehicle type(s) allowed to access a lane.

Constructors

LaneAccess(bool automobiles, bool buses, bool taxis, bool carpools, bool pedestrians, bool trucks, bool throughTraffic, bool deliveryVehicles, bool emergencyVehicles, bool motorcycles)
Creates a new instance.

Properties

automobiles ↔ bool
Four-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.
getter/setter pair
buses ↔ bool
Buses that are used for public transportation.
getter/setter pair
carpools ↔ bool
Represents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.
getter/setter pair
deliveryVehicles ↔ bool
Delivery LaneAccess.trucks that are permitted to enter the city proper to unload goods at businesses.
getter/setter pair
emergencyVehicles ↔ bool
Any vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
motorcycles ↔ bool
Motorized two-wheeled passenger vehicles. Generally, mopeds are considered motorcycles.
getter/setter pair
pedestrians ↔ bool
Persons traveling on foot, whether walking or running.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taxis ↔ bool
Four-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.
getter/setter pair
throughTraffic ↔ bool
Passenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.
getter/setter pair
trucks ↔ bool
Large vehicles that range from medium to heavy duty trucks.
getter/setter pair

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.