getBorderCrossingWarning abstract method

BorderCrossingWarning? getBorderCrossingWarning(
  1. Warning warning
)

Returns a border crossing warning corresponding to the given identifier.

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

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

Implementation

BorderCrossingWarning? getBorderCrossingWarning(Warning warning);