Alert

public struct Alert : Codable, Hashable, Equatable

Type that holds information about weather alerts

  • Name of the alert source. Please read here the full list of alert sources

    Declaration

    Swift

    public let senderName: String
  • Alert event name

    Declaration

    Swift

    public let eventName: String
  • / Date and time of the start of the alert

    Declaration

    Swift

    public let startDate: Date
  • / Date and time of the end of the alert

    Declaration

    Swift

    public let endDate: Date
  • Description of the alert

    Declaration

    Swift

    public let description: String