getSchoolZoneWarning abstract method

SchoolZoneWarning? getSchoolZoneWarning(
  1. Warning warning
)

Returns a school zone warning corresponding to the given identifier.

  • warning The identifier of the warning, as provided by WarningListener.onWarning. The warning uniquely identifies a single school zone warning within this registry and is used to retrieve its full metadata.

Returns SchoolZoneWarning?. The SchoolZoneWarning object associated with the provided WarningsRegistry.getSchoolZoneWarning.warning, or null if no warning exists for the given WarningsRegistry.getSchoolZoneWarning.warning. This object contains the full details and attributes of the corresponding warning.

Implementation

SchoolZoneWarning? getSchoolZoneWarning(Warning warning);