SectionNotice class
Explains an issue encountered in a Section.
Constructors
- SectionNotice(SectionNoticeCode code, NoticeSeverity severity)
Properties
- code ↔ SectionNoticeCode
-
The notice code.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity ↔ NoticeSeverity
-
The notice severity.
getter/setter pair
-
violatedRestrictions
↔ List<
ViolatedRestriction> -
The following property
violated_restrictionscontains the notice detail information. Only three types of restrictions can have notice details: time dependent restriction, vehicle restriction and transport mode restriction. There is no one-to-one match of theSectionNotice.codeand these three restriction types. For example, ifSectionNotice.codeis SectionNoticeCode.violatedVehicleRestriction, then it can be either vehicle restriction or transport mode restriction. IfSectionNotice.codeis SectionNoticeCode.seasonalClosure, then it is time dependent restriction. If the section notice is none of the above-mentioned three types, then this will be an empty list.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.