getTruckRestrictionWarning abstract method
- Warning warning
Returns a truck restrictions warning corresponding to the given identifier.
warningThe identifier of the warning, as provided byWarningListener.onWarning. Thewarninguniquely identifies a single truck restrictions warning within this registry and is used to retrieve its full metadata.
Returns TruckRestrictionWarning?. The TruckRestrictionWarning object associated with the provided WarningsRegistry.getTruckRestrictionWarning.warning,
or null if no warning exists for the given WarningsRegistry.getTruckRestrictionWarning.warning.
This object contains the full details and attributes of the corresponding warning.
Implementation
TruckRestrictionWarning? getTruckRestrictionWarning(Warning warning);