RailwayCrossing class
Identifies the presence and the location of railway corssings.
Included in SegmentData only if SegmentDataLoaderOptions.loadRailwayCrossings is set to true.
Constructors
- RailwayCrossing(RailwayCrossingType railwayCrossingType)
Properties
- endOffsetInMeters ↔ int
-
The end offset, in meters, from the beginning of the segment.
Could be 0. See RailwayCrossing.startOffsetInMeters description.
Default value is 0.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- railwayCrossingType ↔ RailwayCrossingType
-
The type of barrier presented by the railway crossing.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startOffsetInMeters ↔ int
-
The start offset, in meters, from the beginning of the segment.
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.
inherited