EnvironmentalZoneWarningListener constructor

  1. @Deprecated("Will be removed in v4.29.0. Use the `WarningListener` implementation instead.")
EnvironmentalZoneWarningListener(
  1. void onEnvironmentalZoneWarningsUpdatedLambda(
    1. List<EnvironmentalZoneWarning>
    )
)

This abstract class should be implemented in order to receive notifications about the environmental zones.

Implementation

@Deprecated("Will be removed in v4.29.0. Use the `WarningListener` implementation instead.")

factory EnvironmentalZoneWarningListener(
  void Function(List<EnvironmentalZoneWarning>) onEnvironmentalZoneWarningsUpdatedLambda,

) => EnvironmentalZoneWarningListener$Lambdas(
  onEnvironmentalZoneWarningsUpdatedLambda,

);